Ignore:
Timestamp:
Oct 7, 2007, 7:09:24 PM (18 years ago)
Author:
bird
Message:

jobs and other stuff.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/kash/expand.c

    r1203 r1207  
    453453                        if (in.fd < 0)
    454454                                break;
    455                         while ((i = read(in.fd, buf, sizeof buf)) < 0 && errno == EINTR);
     455                        while ((i = shfile_read(&psh->fdtab, in.fd, buf, sizeof buf)) < 0 && errno == EINTR);
    456456                        TRACE((psh, "expbackq: read returns %d\n", i));
    457457                        if (i <= 0)
     
    474474
    475475        if (in.fd >= 0)
    476                 close(in.fd);
     476                shfile_close(&psh->fdtab, in.fd);
    477477        if (in.buf)
    478478                ckfree(in.buf);
     
    11921192                                break;
    11931193                }
    1194                 if (metaflag == 0 || lstat(psh->expdir, &statb) >= 0)
     1194                if (metaflag == 0 || shfile_lstat(&psh->fdtab, psh->expdir, &statb) >= 0)
    11951195                        addfname(psh, psh->expdir);
    11961196                return;
Note: See TracChangeset for help on using the changeset viewer.