(Illustration by Gaich Muramatsu)
On Fri, Mar 07, 2003 at 04:37:03PM +1100, Tim Robbins wrote:
> It's not safe to assume that fdatasync() is supported because
> _POSIX_SYNCHRONIZED_IO is defined. FreeBSD 5.0 defines _POSIX_SYNCHRONIZED_IO
> as -1, which means that the feature is not implemented.
>
> Note: version numbers in the diff output do not correspond to those
> in the Coda CVS repository. This patch is against rvm 1.7.
I actually fixed this differently a while ago, configure simply tests for the availability of fdatasync() and so we could use #ifdef HAVE_FDATASYNC instead of relying on _POSIX_SYNCHRONIZED_IO which looks like it would quickly get as horrible as the __BIT_TYPES_DEFINED stuff in coda.h.
Jan Received on 2003-03-07 02:10:13