diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-03-16 23:37:22 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-03-16 23:37:22 +0800 |
commit | 1be39ce6e70dd5ecbdbef246606c9933dfb7b562 (patch) | |
tree | 3c7f459e24fa5d13ba85badb0a64da241b0baf68 | |
parent | f79d7ef296f497b75d91a7770c7c1abce36961a4 (diff) | |
download | pttbbs-1be39ce6e70dd5ecbdbef246606c9933dfb7b562.tar pttbbs-1be39ce6e70dd5ecbdbef246606c9933dfb7b562.tar.gz pttbbs-1be39ce6e70dd5ecbdbef246606c9933dfb7b562.tar.bz2 pttbbs-1be39ce6e70dd5ecbdbef246606c9933dfb7b562.tar.lz pttbbs-1be39ce6e70dd5ecbdbef246606c9933dfb7b562.tar.xz pttbbs-1be39ce6e70dd5ecbdbef246606c9933dfb7b562.tar.zst pttbbs-1be39ce6e70dd5ecbdbef246606c9933dfb7b562.zip |
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@32 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/board.c | 6 | ||||
-rw-r--r-- | mbbsd/mbbsd.c | 3 |
2 files changed, 5 insertions, 4 deletions
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 <stdio.h> #include <stdlib.h> #include <string.h> @@ -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 <stdio.h> #include <string.h> #include <stdlib.h> @@ -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()) |