Matthew Dempsky <matt...@dempsky.org> wrote:

> Now that all of the new AT_* flags are supported, it's okay to expose
> openat(2), etc. in libc.

... revealing that the gnulib configure tests think that our
fchownat() is broken.

The test does

  ln -s conftest.no-such conftest.dangle

and then runs this program:

--------------->
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
#include <errno.h>
#include <sys/types.h>
int
main ()
{
  return (fchownat (AT_FDCWD, "conftest.dangle", -1, getgid (),
                    AT_SYMLINK_NOFOLLOW) != 0
          && errno == ENOENT);
}
<---------------

That indeed looks wrong to me.

-- 
Christian "naddy" Weisgerber                          na...@mips.inka.de

Reply via email to