1 --- ash-linux-0.2/parser.c.foo Sat Sep 11 17:33:40 1999
2 +++ ash-linux-0.2/parser.c Sat Sep 11 17:36:02 1999
5 } else if (n->type == NTOFD || n->type == NFROMFD) {
6 if (is_digit(wordtext[0]))
7 - n->ndup.dupfd = digit_val(wordtext[0]);
8 + n->ndup.dupfd = atoi(wordtext);
9 else if (wordtext[0] == '-')
13 - if (wordtext[1] != '\0') {
15 synerror("Bad fd number");
18 n->nfile.fname = (union node *)stalloc(sizeof (struct narg));