Based on Dave's earlier patch, but now we have an fallocate glibc call... this also adds autoconf magic and a manpage update. (hopefully not too #ifdef-heavy....) Signed-off-by: Eric Sandeen <sandeen
Actually that was spoken too fast. On my Debian -testing system it detects fallocate as available because <linux/falloc.h> exists, but the glibc doesn't actually support a falloc(3) yet. So either th
oh, hrm. It's already doing what I thought was sufficient but it won't link will it: (from m4/package_libcdev.m4) +# +# Check if we have a fallocate libc call (Linux) +# +AC_DEFUN([AC_HAVE_FALLOCATE]
Yes, that correctly detects fallocate as not present for me and thus gives a working fallocate. Why do you nee to include <linux/falloc.h> here anyway? You don't use any of the constants, and the fal
Well, the actual patch includes it for FALLOC_FL_KEEP_SIZE so it'd be better to detect it at config time and if not there fail? Or we could #ifndef and have a local define ... -Eric