updates from plan 9

This commit is contained in:
rsc 2004-12-26 21:46:26 +00:00
parent 60535a5ff6
commit 5c8a042171
4 changed files with 16 additions and 1 deletions

View file

@ -33,8 +33,8 @@ _post2(void *v)
Srv *s;
s = v;
rfork(RFNOTEG);
if(!s->leavefdsopen){
rfork(RFNOTEG);
rendezvous((ulong)s, 0);
close(s->srvfd);
}