From 566387a0641e4260ec5ed4f6592127d5e373668d Mon Sep 17 00:00:00 2001 From: in2 Date: Thu, 1 Jan 2004 10:04:41 +0000 Subject: NOKILLWATERBALL, do NOT kill(2) the process after sending a waterball, and check if there exists a waterball before read(2) from socket. this code is under testing and may have some bugs. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1441 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/var.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mbbsd/var.c') diff --git a/mbbsd/var.c b/mbbsd/var.c index c58e8bb3..f2fb1500 100644 --- a/mbbsd/var.c +++ b/mbbsd/var.c @@ -621,6 +621,10 @@ char *friend_file[8] = { FN_VISABLE }; +#ifdef NOKILLWATERBALL +char reentrant_write_request = 0; +#endif + #ifdef PTTBBS_UTIL #ifdef OUTTA_TIMER #define COMMON_TIME (SHM->GV2.e.now) -- cgit v1.2.3