|
|
| version 1.27, 2007/11/21 05:13:52 | version 1.28, 2007/12/04 05:10:47 |
|---|---|
| Line 346 int list_attributes(const char *path, in | Line 346 int list_attributes(const char *path, in |
| return 0; | return 0; |
| } | } |
| int do_print(const char *path, const struct stat *stat, int walk_flags, void *unused) | int do_print(const char *path, const struct stat *stat, int walk_flags, |
| void *unused) | |
| { | { |
| int header_printed = 0; | int header_printed = 0; |
| if (walk_flags & WALK_TREE_FAILED) { | if (walk_flags & WALK_TREE_FAILED) { |
| fprintf(stderr, "%s: %s: %s\n", progname, xquote(path), strerror(errno)); | fprintf(stderr, "%s: %s: %s\n", progname, xquote(path), |
| strerror(errno)); | |
| return 1; | return 1; |
| } | } |
| Line 474 int main(int argc, char *argv[]) | Line 476 int main(int argc, char *argv[]) |
| } | } |
| while (optind < argc) { | while (optind < argc) { |
| had_errors += walk_tree(argv[optind], walk_flags, do_print, NULL); | had_errors += walk_tree(argv[optind], walk_flags, 0, |
| do_print, NULL); | |
| optind++; | optind++; |
| } | } |