(slighy OT)

On Sat, Feb 16, 2019 at 11:22:19AM +0100, Aurelien Jarno wrote:
>  - fsync() and fdatasync() always succeed when used with eatmydata. In
>    the glibc cases, it fails if fd is not a valid file descriptor or if 
>    fd is bound to a special file (e.g., a pipe, FIFO, or socket) which
>    does not support synchronization. POSIX clearly says that it SHALL
>    fail in that case. I agree that using fsync() or fdatasync() to check
>    if fd is a valid file descriptor is plainly silly, but I am not sure
>    no such code exists.

This should be: https://bugs.debian.org/667965

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature

Reply via email to