Ignore:
Timestamp:
Oct 18, 2010, 1:43:35 AM (15 years ago)
Author:
bird
Message:

kash: made the SHFILE_IN_USE mode work on unix (because openbsd has a very hackish pthread library).

File:
1 edited

Legend:

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

    r2416 r2423  
    10801080    }
    10811081    rc = -1;
    1082 # else
    1083     rc = execve(exe, (char **)argv, (char **)envp);
     1082
     1083# else
     1084    rc = shfile_exec_unix(&psh->fdtab);
     1085    if (!rc)
     1086        rc = execve(exe, (char **)argv, (char **)envp);
    10841087# endif
    10851088
Note: See TracChangeset for help on using the changeset viewer.