Changeset 884 for trunk/src/ash-messup/main.c
- Timestamp:
- Apr 22, 2007, 12:17:42 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ash-messup/main.c
r883 r884 342 342 343 343 INTOFF; 344 if ((fd = open(name, O_RDONLY)) >= 0)344 if ((fd = shfile_open(&psh->fdtab, name, O_RDONLY)) >= 0) 345 345 setinputfd(psh, fd, 1); 346 346 else … … 371 371 372 372 while ((fullname = padvance(psh, &path, basename)) != NULL) { 373 if ((s tat(fullname, &statb) == 0) && S_ISREG(statb.st_mode)) {373 if ((shfile_stat(&psh->fdtab, fullname, &statb) == 0) && S_ISREG(statb.st_mode)) { 374 374 /* 375 375 * Don't bother freeing here, since it will
Note:
See TracChangeset
for help on using the changeset viewer.