On 07/30/2010 01:45 PM, Bruno Haible wrote: > Hi Eric, > > Rainer Tammer's logs say: > > checking whether futimens works... no > configure:30237: $? = 2 > configure: program exited with status 2 > > Exit code 2 from this test program comes from the line > > if (futimens (AT_FDCWD, NULL)) return 2; > > What is this code trying to do? POSIX [1] says that > > "If utimensat() is passed the special value AT_FDCWD in the fd parameter, > the current working directory shall be used."
That's a bug in the m4 script. Thanks for calling it to my attention - the test should be inverted: if (futimens(AT_FDCWD,NULL)==0). Recent glibc was fixed, but we replace futimens anyways on glibc in order to cater to people compiling with newer glibc but older kernels, so no one noticed. -- Eric Blake ebl...@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature