tset pid=-1 explicitly - plan9port - [fork] Plan 9 from user space | |
git clone git://src.adamsgaard.dk/plan9port | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 26a5fd572556f6d875c18fff8e83ed5eed6cf8fa | |
parent 2e397eb47c87e78b4a9e2f4a550be4792bd05fa2 | |
Author: rsc | |
Date: Fri, 11 Feb 2005 16:58:06 +0000 set pid=-1 explicitly Diffstat: M src/cmd/rc/exec.c | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) --- | |
diff --git a/src/cmd/rc/exec.c b/src/cmd/rc/exec.c | |
t@@ -20,6 +20,7 @@ void start(code *c, int pc, var *local) p->eof=0; p->iflag=0; p->lineno=1; + p->pid=-1; p->ret=runq; runq=p; } |