Ignore:
Timestamp:
Oct 18, 2010, 10:52:03 AM (15 years ago)
Author:
bird
Message:

kash: Some S-bahn optimizations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kash/input.c

    r2310 r2424  
    408408                error(psh, "Can't open %s", fname);
    409409        if (fd < 10) {
    410                 fd2 = copyfd(psh, fd, 10);
    411                 shfile_close(&psh->fdtab, fd);
     410                fd2 = movefd_above(psh, fd, 10);
    412411                if (fd2 < 0)
    413412                        error(psh, "Out of file descriptors");
Note: See TracChangeset for help on using the changeset viewer.