From 1be39ce6e70dd5ecbdbef246606c9933dfb7b562 Mon Sep 17 00:00:00 2001 From: ptt Date: Sat, 16 Mar 2002 15:37:22 +0000 Subject: *** empty log message *** git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@32 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/board.c | 6 +++--- mbbsd/mbbsd.c | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'mbbsd') diff --git a/mbbsd/board.c b/mbbsd/board.c index c8ba647f..f28721da 100644 --- a/mbbsd/board.c +++ b/mbbsd/board.c @@ -1,4 +1,4 @@ -/* $Id: board.c,v 1.2 2002/03/11 11:12:05 in2 Exp $ */ +/* $Id: board.c,v 1.3 2002/03/16 15:37:22 ptt Exp $ */ #include #include #include @@ -238,8 +238,8 @@ void init_brdbuf() { register int n, size; char fname[60]; - /* MAXBOARDS ==> 至多看得見 4 個新板 */ - n = numboards + 4; + /* MAXBOARDS ==> 至多看得見 32 個新板 */ + n = numboards + 32; size = n * sizeof(int); zapbuf = (int *) malloc(size); favbuf = (int *) malloc(size + sizeof(int)); diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c index 265a4d74..56d91691 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -1,4 +1,4 @@ -/* $Id: mbbsd.c,v 1.10 2002/03/16 15:11:10 ptt Exp $ */ +/* $Id: mbbsd.c,v 1.11 2002/03/16 15:37:22 ptt Exp $ */ #include #include #include @@ -414,6 +414,7 @@ write_request (int sig) { int i; + signal_restart (SIGUSR2, write_request); if( WATERMODE(WATER_OFO) ){ /* sig = SIGUSR2 waterball come in 0 flush to water[] (by my_write2()) -- cgit v1.2.3