|
|
| version 1.21, 2007/11/21 05:14:46 | version 1.22, 2007/12/04 05:11:38 |
|---|---|
| Line 275 int next_file(const char *arg, seq_t seq | Line 275 int next_file(const char *arg, seq_t seq |
| if (strcmp(arg, "-") == 0) { | if (strcmp(arg, "-") == 0) { |
| while ((line = next_line(stdin))) | while ((line = next_line(stdin))) |
| errors = walk_tree(line, walk_flags, do_set, seq); | errors = walk_tree(line, walk_flags, 0, do_set, seq); |
| if (!feof(stdin)) { | if (!feof(stdin)) { |
| fprintf(stderr, _("%s: Standard input: %s\n"), | fprintf(stderr, _("%s: Standard input: %s\n"), |
| progname, strerror(errno)); | progname, strerror(errno)); |
| errors = 1; | errors = 1; |
| } | } |
| } else { | } else { |
| errors = walk_tree(arg, walk_flags, do_set, seq); | errors = walk_tree(arg, walk_flags, 0, do_set, seq); |
| } | } |
| return errors ? 1 : 0; | return errors ? 1 : 0; |
| } | } |