Changeset 174 for trunk/src/sh_unix.c


Ignore:
Timestamp:
Aug 27, 2008, 5:40:28 PM (16 years ago)
Author:
katerina
Message:

Fix for tickets #112, #113 (dnmalloc deadlock on fork, hostname portability in test script).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_unix.c

    r172 r174  
    12461246#endif
    12471247
    1248 void sh_unix_closeall (int fd, int except)
     1248void sh_unix_closeall (int fd, int except, int inchild)
    12491249{
    12501250  int fdx = fd;
     
    12811281    }
    12821282
    1283   sl_dropall (fdx, except);
     1283  if (!inchild)
     1284    sl_dropall (fdx, except);
     1285  else
     1286    sl_dropall_dirty (fdx, except);
    12841287
    12851288  SL_RET0(_("sh_unix_closeall"));
Note: See TracChangeset for help on using the changeset viewer.