On 03/14/13 07:24, Phillip Susi wrote: >> MIT Kerberos relies on fsync (invalid_fd) returning -1, so I >> > suppose it's worth the bother. > It does? How so?
Just grab the source and grep for 'fsync'; you'll find it checking for EBADF afterwards, in at least one place.