Getline touchups.
authorEric Blake <ebb9@byu.net>
Thu, 23 Aug 2007 02:00:18 +0000 (02:00 +0000)
committerEric Blake <ebb9@byu.net>
Thu, 23 Aug 2007 02:00:18 +0000 (02:00 +0000)
commit33c8286ea93bec94c46d777a77d471babd3698e0
tree2df4c2fbf20680bd0e0ac1ace55035d99de66a49
parente58ab9a90893a3c5e0bdcb3ff322b168147d41bf
Getline touchups.
* lib/getdelim.c (getdelim): Revert regression that required *n to
be 0 when *lineptr is NULL.  Preserve errno across funlockfile.
* m4/getdelim.m4 (gl_FUNC_GETDELIM): Check for declaration of
getdelim, rather than whether implementation is missing.
* m4/getline.m4 (gl_FUNC_GETLINE): Likewise for getline.
* lib/stdio_.h (getline): Also declare if replacement is
required.
* doc/functions/getdelim.texi: New file.
* doc/functions/getline.texi: Likewise.
* doc/gnulib.texi (Function Substitutes): Add new files.
Reported by Bruno Haible.
ChangeLog
doc/functions/getdelim.texi [new file with mode: 0644]
doc/functions/getline.texi [new file with mode: 0644]
doc/gnulib.texi
lib/getdelim.c
lib/stdio_.h
m4/getdelim.m4
m4/getline.m4