Re: Patch: FreeBSD support for rvm 1.7

Jan Harkes <[email protected]> Fri, 7 Mar 2003 02:09:04 -0500
Newsgroups gmane.comp.file-systems.coda.devel
Message-ID <[email protected]>
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