Changeset 3437 in kBuild for trunk/src/kash/jobs.c
- Timestamp:
- Sep 3, 2020 1:52:14 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kash/jobs.c
r3435 r3437 807 807 int forkshell2(struct shinstance *psh, struct job *jp, union node *n, int mode, 808 808 int (*child)(struct shinstance *, void *, union node *), 809 union node *nchild, void *argp, size_t arglen) 809 union node *nchild, void *argp, size_t arglen, 810 void (*setupchild)(struct shinstance *, struct shinstance *, void *)) 810 811 { 811 812 pid_t pid; … … 816 817 { 817 818 /* child */ 818 (void)arglen;819 819 forkchild(psh, jp, n, mode); 820 820 sh_exit(psh, child(psh, nchild, argp)); … … 827 827 TRACE((psh, "Fork failed, errno=%d\n", errno)); 828 828 INTON; 829 (void)arglen; 830 (void)setupchild; 829 831 error(psh, "Cannot fork"); 830 832 return -1; /* won't get here */
Note:
See TracChangeset
for help on using the changeset viewer.