|
From: | Kevin Brott |
Subject: | Re: [Bug-tar] Problem with fstatat on AIX 7.1 |
Date: | Sat, 3 Sep 2011 11:52:15 -0700 |
Hmm, this makes it appear that fstatat always fails
if its flags argument is zero, which makes the AIX bug
worse than what we thought. Can you please test this
guess by trying the following test program and seeing
what its exit status is?
#include <fcntl.h>
#include <sys/stat.h>
int
main (void)
{
struct stat a;
int fd = open (".", O_RDONLY);return 1;
if (fd < 0)
if (fstatat (fd, ".", &a, 0) != 0)
return 2;
return 0;
}
[Prev in Thread] | Current Thread | [Next in Thread] |