[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
fchownat autofoo bugs
From: |
Greg Schafer |
Subject: |
fchownat autofoo bugs |
Date: |
Sun, 20 May 2007 10:10:14 +1000 |
User-agent: |
Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) |
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
- fchownat autofoo bugs,
Greg Schafer <=