From 2b4281853210dce6bc5e108a41cf3ad9de882a81 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Tue, 1 Apr 2008 20:55:40 -0500 Subject: [PATCH 1/2] yet another autoreconf run. --- configure | 10 ++++++++++ include/setup.h.in | 3 +++ 2 files changed, 13 insertions(+) diff --git a/configure b/configure index 991661028..0f118e589 100755 --- a/configure +++ b/configure @@ -11018,6 +11018,11 @@ cat >>confdefs.h <<\_ACEOF _ACEOF +cat >>confdefs.h <<\_ACEOF +#define FD_HEAP_SIZE 128 +_ACEOF + + cat >>confdefs.h <<\_ACEOF #define AWAY_HEAP_SIZE 128 _ACEOF @@ -11094,6 +11099,11 @@ cat >>confdefs.h <<\_ACEOF _ACEOF +cat >>confdefs.h <<\_ACEOF +#define FD_HEAP_SIZE 1024 +_ACEOF + + cat >>confdefs.h <<\_ACEOF #define AWAY_HEAP_SIZE 512 _ACEOF diff --git a/include/setup.h.in b/include/setup.h.in index 627dd80a1..f999e3f7c 100644 --- a/include/setup.h.in +++ b/include/setup.h.in @@ -32,6 +32,9 @@ /* Prefix where config files are installed. */ #undef ETC_DIR +/* Size of fd heap. */ +#undef FD_HEAP_SIZE + /* Define to 1 if you have `alloca', as a function or macro. */ #undef HAVE_ALLOCA From 2847d2186e9e2c491bde3183dd8acb0f72d0b9f1 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Tue, 1 Apr 2008 20:56:54 -0500 Subject: [PATCH 2/2] fix ircd.c compilation --- src/ircd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ircd.c b/src/ircd.c index 5cdce481f..5d6e284b5 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -111,7 +111,7 @@ ircd_log_cb(const char *str) static void ircd_restart_cb(const char *str) { - restart(buf); + restart(str); } /*