Ignore:
Timestamp:
Sep 2, 2020, 10:30:54 PM (5 years ago)
Author:
bird
Message:

kash: Remove vfork code, we've never used it and we wont need it if we replace fork() with pthreads.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kash/redir.h

    r2424 r3435  
    3838#define REDIR_PUSH 01           /* save previous values of file descriptors */
    3939#define REDIR_BACKQ 02          /* save the command output in memory */
    40 #define REDIR_VFORK 04          /* running under vfork(2), be careful */
     40//#define REDIR_VFORK 04                /* running under vfork(2), be careful */
    4141
    4242union node;
     
    4444void popredir(struct shinstance *);
    4545int fd0_redirected_p(struct shinstance *);
    46 void clearredir(struct shinstance *, int);
     46void clearredir(struct shinstance *);
    4747int copyfd(struct shinstance *, int, int);
    4848int movefd(struct shinstance *, int, int);
Note: See TracChangeset for help on using the changeset viewer.