Re: [PATCH 1/3] build: storage: fdatasync() is not supported in Mac OS X.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]