On 09/13/2011 11:55 PM, Kelly Anderson wrote:
Hi,

I put together a patch 2 or 3 years ago (back when posix_fallocate was
first introduced in glibc).

Thanks for the effort. However, this has been discussed in the past, and the consensus was that we should first write a patch to gnulib that provides a posix_fallocate() stub for all platforms, so that coreutils can unconditionally call posix_fallocate, rather than making coreutils have to use #ifdef. Among other things, a gnulib module would make it possible to emulate posix_fallocate() even on older glibc where it is missing or broken.

--
Eric Blake   [email protected]    +1-801-349-2682
Libvirt virtualization library http://libvirt.org



Reply via email to