Perhaps most interesting is the POSIX specification, which state
that both fsync() and fdatasync() should return EBADF when passed
an invalid file descriptor not open for writing.

<URL: > and
<URL: >.

This make me believe libeatmydata should change to behave according to the
POSIX specification.
Happy hacking
Petter Reinholdtsen

Reply via email to