bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] openat: test for fstatat (AT_FDCWD, ..., 0) bug


From: Jim Meyering
Subject: Re: [PATCH] openat: test for fstatat (AT_FDCWD, ..., 0) bug
Date: Sat, 03 Sep 2011 19:36:22 +0200

Paul Eggert wrote:
> Further testing with tar has revealed a bug with AIX 7.1's
> implementation of fstatat (this time for real, I think :-).
> I'm installing this patch into gnulib so that it can propagate
> into tar.
>
> openat: test for fstatat (AT_FDCWD, ..., 0) bug
> This tests for another fstatat bug on AIX 7.1:
> fstatat (AT_FDCWD, ..., 0) does not work.  See
> <http://lists.gnu.org/archive/html/bug-tar/2011-09/msg00015.html>.
> * lib/fstatat.c (FSTATAT_AT_FDCWD_0_BROKEN)
> (LSTAT_FOLLOWS_SLASHED_SYMLINK): Default to 0.
> (rpl_fstatat): Adjust so that it works around either (or both)
> bugs if present.
> * m4/openat.m4 (gl_FUNC_FSTATAT): Test for this fstatat bug.

Thanks, Paul.

It'd be easier to find/fix things like this if
a few key people had access to such a system.
If anyone knows of a public system or can arrange for
something private, please let us know.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]