]> diplodocus.org Git - nmh/commitdiff
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)
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.


No differences found