changeset 11115:3ac4b9408832

Improve doc of dirfd module.
author Bruno Haible <bruno@clisp.org>
date Sat, 07 Feb 2009 11:39:09 +0100
parents ecdf003aa29f
children 4132ab46c21f
files ChangeLog doc/posix-functions/dirfd.texi
diffstat 2 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-02-07  Bruno Haible  <bruno@clisp.org>
+
+	* doc/posix-functions/dirfd.texi: Clarify situation on mingw. Document
+	failure behaviour.
+
 2009-02-07  Jim Meyering  <meyering@redhat.com>
 
 	regex: avoid compilation failure with upcoming gcc-4.4
--- a/doc/posix-functions/dirfd.texi
+++ b/doc/posix-functions/dirfd.texi
@@ -10,12 +10,16 @@
 @itemize
 @item
 This function is missing on some platforms:
-AIX 5.1, HP-UX 11, OSF/1 5.1, Solaris 10.
+AIX 5.1, HP-UX 11, OSF/1 5.1, Solaris 10, mingw.
 @end itemize
 
 Portability problems not fixed by Gnulib:
 @itemize
 @item
-This function is missing on some platforms:
+This function always fails on some platforms:
 mingw.
 @end itemize
+
+With the @code{dirfd} module, this functions always sets @code{errno} when it
+fails. (POSIX does not require that @code{dirfd} sets @code{errno} when it
+fails.)