ref: 57153d390529d3e8bd600091f9c078a0e82772a6
parent: d7964e45f7d96ac57b4e6c95c06171ff698eca08
author: cinap_lenrek <cinap_lenrek@gmx.de>
date: Sun Jan 6 23:30:19 EST 2013
hjfs: disable shutdown when listening on network connections
--- a/sys/src/cmd/hjfs/9p.c
+++ b/sys/src/cmd/hjfs/9p.c
@@ -137,8 +137,10 @@
void
start9p(char *service, char **nets, int stdio)
{- while(nets && *nets)
+ while(nets && *nets){+ mysrv.end = nil; /* disable shutdown */
threadlistensrv(&mysrv, *nets++);
+ }
if(stdio){mysrv.infd = 1;
mysrv.outfd = 1;
--
⑨