Hi

The autoconf check for fchownat appears slightly broken:

checking for fchownat... yes
checking whether fchownat works with AT_SYMLINK_NOFOLLOW... no

The check for AT_SYMLINK_NOFOLLOW was added by Jim a while back to work
around a Glibc-2.4 bug (on x86). The bug was fixed in Glibc-2.5 and above
but the autoconf check always returns "no". I've tested Glibc 2.5 and 2.6.

Secondly, if I try to force the correct result by configuring like this:

./configure gl_cv_func_fchownat_nofollow_works=yes

it doesn't work because of:

checking whether fchownat works with AT_SYMLINK_NOFOLLOW... (cached) yes
./configure: line 33949: test: =: unary operator expected

I'm using the coreutils-6.9 release and I only noticed this because
Debian's `fakeroot' program (an older version, not the latest from
unstable which supports all the new *at() calls) started working again
when it previously failed.

Regards
Greg



_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to