Mercurial > hg > octave-kai > gnulib-hg
changeset 15541:38e51177f2b2
freopen: Documentation.
* doc/posix-functions/freopen.texi: Document the bug with the NULL file
name.
Reported by Claudio Bley <claudio.bley@gmail.com>.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Wed, 31 Aug 2011 10:48:02 +0200 |
parents | eff2fc71e9c1 |
children | 9ad43fa113ac |
files | ChangeLog doc/posix-functions/freopen.texi |
diffstat | 2 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-08-31 Bruno Haible <bruno@clisp.org> + + freopen: Documentation. + * doc/posix-functions/freopen.texi: Document the bug with the NULL file + name. + Reported by Claudio Bley <claudio.bley@gmail.com>. + 2011-08-31 Claudio Bley <claudio.bley@gmail.com> (tiny change) freopen: Don't crash if the filename argument is NULL.
--- a/doc/posix-functions/freopen.texi +++ b/doc/posix-functions/freopen.texi @@ -22,6 +22,10 @@ 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: