]> diplodocus.org Git - nmh/commit
Merge .netrc's token() file-reading loops; quoted and not.
authorRalph Corderoy <ralph@inputplus.co.uk>
Sat, 22 Oct 2016 16:47:06 +0000 (17:47 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sat, 22 Oct 2016 16:47:06 +0000 (17:47 +0100)
commit760caf0926e2dcc8931b631f07d2cb091922a295
tree2d1cc3779f30c1e80a13dd80b9095ca136cc3559
parent16f84dac4d414312e41433f7ae74aecc45166806
Merge .netrc's token() file-reading loops;  quoted and not.

Check for ferror(3) as well as feof(3) on entry.
Comment on lack of definition of quoted-string syntax, e.g. «"foo""bar"»
is two tokens without needing a separator.
Add comments on bugs for first non-quote character of a token being
backslash, and if a backslash escapes EOF.
sbr/ruserpass.c