fossil: required p9p changes

R=rsc
https://codereview.appspot.com/13352057
This commit is contained in:
David du Colombier 2013-09-26 20:12:45 +02:00
parent 4b57665805
commit b32de4ae73
15 changed files with 156 additions and 67 deletions

View file

@ -73,7 +73,11 @@ threadmain(int argc, char* argv[])
/*
* Insulate from the invoker's environment.
*/
#ifdef PLAN9PORT
if(rfork(RFNAMEG) < 0)
#else
if(rfork(RFREND|RFNOTEG|RFNAMEG) < 0)
#endif
sysfatal("rfork: %r");
close(0);