Reverted accidental change to stat.c.

This commit is contained in:
Philip Homburg 2008-10-02 14:11:12 +00:00
parent 005bc7a649
commit c888305e21

View file

@ -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) {