xv6

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 98754d687e1999eecf8de1b4557218f4f5c055c5
parent 56082468ea935c09ab2ed89ee83f9b0869f580b1
Author: rtm <rtm>
Date:   Thu, 28 Aug 2008 00:53:24 +0000

avoid a bug w/ exit()

Diffstat:
Mproc.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/proc.c b/proc.c @@ -126,6 +126,7 @@ copyproc(struct proc *p) kfree(np->kstack, KSTACKSIZE); np->kstack = 0; np->state = UNUSED; + np->parent = 0; return 0; } memmove(np->mem, p->mem, np->sz);