summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/board.c6
-rw-r--r--mbbsd/mbbsd.c3
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())