Ignore:
Timestamp:
Apr 22, 2007, 12:17:42 AM (18 years ago)
Author:
bird
Message:

hacking...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ash-messup/main.c

    r883 r884  
    342342
    343343        INTOFF;
    344         if ((fd = open(name, O_RDONLY)) >= 0)
     344        if ((fd = shfile_open(&psh->fdtab, name, O_RDONLY)) >= 0)
    345345                setinputfd(psh, fd, 1);
    346346        else
     
    371371
    372372        while ((fullname = padvance(psh, &path, basename)) != NULL) {
    373                 if ((stat(fullname, &statb) == 0) && S_ISREG(statb.st_mode)) {
     373                if ((shfile_stat(&psh->fdtab, fullname, &statb) == 0) && S_ISREG(statb.st_mode)) {
    374374                        /*
    375375                         * Don't bother freeing here, since it will
Note: See TracChangeset for help on using the changeset viewer.