mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-09-01 11:16:02 +00:00
fsync, fdatasync: generalize fsync write access doc
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
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>
|
||||
|
||||
@@ -19,4 +19,9 @@ Mac OS X 10.5, FreeBSD 11.0, OpenBSD 3.8, Minix 3.1.8, mingw, MSVC 14, Android 2
|
||||
|
||||
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
|
||||
|
||||
@@ -17,12 +17,8 @@ mingw, MSVC 14.
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user