Reverted accidental change to stat.c.
This commit is contained in:
parent
005bc7a649
commit
c888305e21
1 changed files with 0 additions and 2 deletions
|
@ -195,7 +195,6 @@ int main(int ac, char** av)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
fprintf(stderr, "stat: buffer at %p\n", &sbuf);
|
|
||||||
if (!sym) err= stat(av[i], &sbuf);
|
if (!sym) err= stat(av[i], &sbuf);
|
||||||
if (sym || (err != 0 && errno == ENOENT)) {
|
if (sym || (err != 0 && errno == ENOENT)) {
|
||||||
err= lstat(av[i], &sbuf);
|
err= lstat(av[i], &sbuf);
|
||||||
|
@ -245,7 +244,6 @@ fprintf(stderr, "stat: buffer at %p\n", &sbuf);
|
||||||
printf("%s: %s\n", av[i], sbuf);
|
printf("%s: %s\n", av[i], sbuf);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
fprintf(stderr, "stat: buffer at %p\n", &sbuf);
|
|
||||||
if (!sym) err= stat(av[i], &sbuf);
|
if (!sym) err= stat(av[i], &sbuf);
|
||||||
if (sym || (err != 0 && errno == ENOENT)) err= lstat(av[i], &sbuf);
|
if (sym || (err != 0 && errno == ENOENT)) err= lstat(av[i], &sbuf);
|
||||||
if (err != -1) {
|
if (err != -1) {
|
||||||
|
|
Loading…
Reference in a new issue