summaryrefslogtreecommitdiffstats
path: root/mbbsd/mbbsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r--mbbsd/mbbsd.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index 044927dc..b64cab13 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -358,7 +358,9 @@ void
write_request(int sig)
{
int i;
-
+#ifdef NOKILLWATERBALL
+ reentrant_write_request = 1;
+#endif
if (WATERMODE(WATER_OFO)) {
/*
* sig = SIGUSR2 waterball come in 0 flush to water[] (by
@@ -427,6 +429,9 @@ write_request(int sig)
currutmp->msgcount = 0;
}
}
+#ifdef NOKILLWATERBALL
+ reentrant_write_request = 0;
+#endif
}
static void