fossil: required p9p changes
R=rsc https://codereview.appspot.com/13352057
This commit is contained in:
parent
4b57665805
commit
b32de4ae73
15 changed files with 156 additions and 67 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue