From: Bruno Haible Date: Wed, 31 Aug 2011 08:48:02 +0000 (+0200) Subject: freopen: Documentation. X-Git-Tag: v0.1~1985 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=a5a35f0cfc24fc0b206be30aba2bf7b98d522082;p=gnulib.git freopen: Documentation. * doc/posix-functions/freopen.texi: Document the bug with the NULL file name. Reported by Claudio Bley . --- diff --git a/ChangeLog b/ChangeLog index d06bcede5b..6821057179 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-08-31 Bruno Haible + + freopen: Documentation. + * doc/posix-functions/freopen.texi: Document the bug with the NULL file + name. + Reported by Claudio Bley . + 2011-08-31 Claudio Bley (tiny change) freopen: Don't crash if the filename argument is NULL. diff --git a/doc/posix-functions/freopen.texi b/doc/posix-functions/freopen.texi index e1a077a190..49b0afe62e 100644 --- a/doc/posix-functions/freopen.texi +++ b/doc/posix-functions/freopen.texi @@ -22,6 +22,10 @@ Portability problems not fixed by Gnulib: On Windows platforms (excluding Cygwin), this function does not set @code{errno} upon failure. @item +This function does not support a @code{NULL} file name argument on some +platforms: +OpenBSD 4.9, AIX 7.1, HP-UX 11.23, IRIX 6.5, OSF/1 5.1, Solaris 10, mingw. +@item This function does not fail when the file name argument ends in a slash and (without the slash) names a nonexistent file or a file that is not a directory, on some platforms: