[libvirt] [PATCH] build: use gnulib fdatasync

Jiri Denemark jdenemar at redhat.com
Tue Oct 25 09:44:51 UTC 2011


On Mon, Oct 24, 2011 at 16:44:49 -0600, Eric Blake wrote:
> Commit 1726a73 hacked around MacOS' lack of fdatasync, since
> gnulib did not have it at the time.  But now that we use newer
> gnulib, we can avoid the hack.
> 
> * bootstrap.conf (gnulib_modules): Add fdatasync.
> * configure.ac (AC_CHECK_FUNCS_ONCE): Drop our own check.
> ---
>  bootstrap.conf |    1 +
>  configure.ac   |    5 +----
>  2 files changed, 2 insertions(+), 4 deletions(-)

ACK

BTW, are there any plans on enhancing gnulib fsync module to provide a
replacement for certain versions of OS X? Although they provide fsync, it
doesn't really sync anything and one needs to do some ioctl hackery to really
achieve what fsync should do.

Jirka




More information about the libvir-list mailing list