2025-07-22 Collin Funk <collin.funk1@gmail.com>
+ Paul Eggert <eggert@cs.ucla.edu>
- doc: Document that fsync doesn't work on directories on AIX 7.3.
- Reported by Lakshmi-Surekha <Lakshmi.Kovvuri@ibm.com> in:
+ doc: Document that fsync and fdatasync require write access.
+ Reported for fsync on AIX by Lakshmi-Surekha
+ <Lakshmi.Kovvuri@ibm.com> in:
<https://github.com/tukaani-project/xz/issues/188>.
+ * doc/posix-functions/fdatasync.texi:
* doc/posix-functions/fsync.texi: Document the behavior.
2025-07-22 Paul Eggert <eggert@cs.ucla.edu>
Portability problems not fixed by Gnulib:
@itemize
+@item
+If the argument is a file descriptor that lacks write access,
+such as a directory file descriptor, this function fails
+with @code{EBADF} on some platforms:
+AIX 7.3, Cygwin 3.6.x.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
-If the argument is a read-only file descriptor, this function fails
+If the argument is a file descriptor that lacks write access,
+such as a directory file descriptor, this function fails
with @code{EBADF} on some platforms:
-AIX 7.2, Cygwin 2.9.
-
-@item
-If the argument is a directory file descriptor, this function fails with
-@code{EBADF} on some platforms:
-AIX 7.3.
+AIX 7.3, Cygwin 3.6.x.
@end itemize