diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-01-01 18:04:41 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-01-01 18:04:41 +0800 |
commit | 566387a0641e4260ec5ed4f6592127d5e373668d (patch) | |
tree | 279f78b366667452fd88336f565ee84fedc74805 /mbbsd/io.c | |
parent | 03f93ae5b5773347501500802e828387971e5d15 (diff) | |
download | pttbbs-566387a0641e4260ec5ed4f6592127d5e373668d.tar pttbbs-566387a0641e4260ec5ed4f6592127d5e373668d.tar.gz pttbbs-566387a0641e4260ec5ed4f6592127d5e373668d.tar.bz2 pttbbs-566387a0641e4260ec5ed4f6592127d5e373668d.tar.lz pttbbs-566387a0641e4260ec5ed4f6592127d5e373668d.tar.xz pttbbs-566387a0641e4260ec5ed4f6592127d5e373668d.tar.zst pttbbs-566387a0641e4260ec5ed4f6592127d5e373668d.zip |
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
Diffstat (limited to 'mbbsd/io.c')
-rw-r--r-- | mbbsd/io.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -148,6 +148,10 @@ dogetch() { int len; static time_t lastact; +#ifdef NOKILLWATERBALL + if( currutmp && currutmp->msgcount && !reentrant_write_request ) + write_request(1); +#endif if (ibufsize <= icurrchar) { if (flushf) |