[libvirt] [PATCH 1/3] build: storage: fdatasync() is not supported in Mac OS X.
eblake at redhat.com
Fri Sep 16 13:04:31 UTC 2011
On 09/16/2011 06:14 AM, Peter Krempa wrote:
> This patch changes fdatasync() to fsync() to compile cleanly in OS X.
I don't like this; it's too heavy-handed on working platforms. Rather,
we should provide a gnulib wrapper function for fdatasync() that falls
back on fsync() when compiled on MacOS. I'll get that done today
(although for the purposes of rc3, if DV would rather push this patch
now, and revert it later when the gnulib changes are complete, so that
rc3 can go out before I get things done, that would work too).
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
More information about the libvir-list