Fix buggy test for the fchownat-deref bug.
authorJim Meyering <jim@meyering.net>
Sun, 20 May 2007 07:33:32 +0000 (07:33 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 20 May 2007 07:33:32 +0000 (07:33 +0000)
commit70f8dfe9abc726d786e13a202bb41a6cb5db95c0
treebab84d6ec4ff55c7819e1ce55fe828855de8c372
parent12726df91b1b64236a10edba2d054019d02884d1
Fix buggy test for the fchownat-deref bug.
* m4/openat.m4 (gl_FUNC_FCHOWNAT_DEREF_BUG): Create the dangling
symlink required for the run-test.  Without it, this test would
always declare that fchownat doesn't work, and client code would
unnecessarily use the replacement function with fixed libc.
(gl_FUNC_FCHOWNAT): Eliminate a variable that wasn't initialized.
Reported by Greg Schafer.
ChangeLog
m4/openat.m4