diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-03-10 11:13:03 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-03-10 11:13:03 +0800 |
commit | 6678caf6b8a83016e6765b7d0c34d53e159a1477 (patch) | |
tree | 4a7502a6fde79d78e9f77ffd59df67369dd8631d | |
parent | cd14aa08b5d8ed37ea770d0bcec8414b1f6dbd70 (diff) | |
download | pttbbs-6678caf6b8a83016e6765b7d0c34d53e159a1477.tar pttbbs-6678caf6b8a83016e6765b7d0c34d53e159a1477.tar.gz pttbbs-6678caf6b8a83016e6765b7d0c34d53e159a1477.tar.bz2 pttbbs-6678caf6b8a83016e6765b7d0c34d53e159a1477.tar.lz pttbbs-6678caf6b8a83016e6765b7d0c34d53e159a1477.tar.xz pttbbs-6678caf6b8a83016e6765b7d0c34d53e159a1477.tar.zst pttbbs-6678caf6b8a83016e6765b7d0c34d53e159a1477.zip |
MAX_EXKEEPMAIL could be overwrited in pttbbs.conf
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@692 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | include/config.h | 15 | ||||
-rw-r--r-- | sample/pttbbs.conf | 3 |
2 files changed, 13 insertions, 5 deletions
diff --git a/include/config.h b/include/config.h index 5360a85d..d5d80cdc 100644 --- a/include/config.h +++ b/include/config.h @@ -1,4 +1,4 @@ -/* $Id: config.h,v 1.8 2003/01/23 18:39:01 in2 Exp $ */ +/* $Id: config.h,v 1.9 2003/03/10 03:13:02 in2 Exp $ */ #ifndef INCLUDE_CONFIG_H #define INCLUDE_CONFIG_H @@ -80,14 +80,20 @@ #ifndef MAXPATHLEN #define MAXPATHLEN (256) #endif + +#ifndef MAX_BOARD +#define MAX_BOARD (8192) /* 程秨狾计 */ +#endif + +#ifndef MAX_EXKEEPMAIL +#define MAX_EXKEEPMAIL (1000) /* 程獺絚ぶ */ +#endif + /* 临ゼ俱瞶 */ #define DIRCACHESIZE (40) /* cache ゅ彻い程40絞 */ #define MAX_FRIEND (256) /* 更 cache ぇ程狟ね计ヘ */ #define MAX_REJECT (32) /* 更 cache ぇ程胊计ヘ */ #define MAX_MSGS (10) /* 瞴(荐癟)г瑻 */ -#ifndef MAX_BOARD -#define MAX_BOARD (8192) /* 程秨狾计 */ -#endif #define MAX_MOVIE (999) /* 程笆篈狾计 */ #define MAX_MOVIE_SECTION (10) /* 程笆篈狾摸 */ #define MAX_ITEMS (1000) /* ヘ魁程Τ碭兜 */ @@ -99,7 +105,6 @@ #define MAX_NAMELIST (128) /* 程ㄤ疭虫计 */ #define MAX_PAGES (999) /* more.c いゅ彻计(lines/22) */ #define MAX_KEEPMAIL (200) /* 程玂痙碭 MAIL */ -#define MAX_EXKEEPMAIL (1000) /* 程獺絚ぶ */ #define MAX_NOTE (20) /* 程玂痙碭絞痙ē */ #define MAX_SIGLINES (6) /* 帽郎ま程︽计 */ #define MAX_CROSSNUM (9) /* 程crosspostΩ计 */ diff --git a/sample/pttbbs.conf b/sample/pttbbs.conf index 84a9938c..0b0e51d6 100644 --- a/sample/pttbbs.conf +++ b/sample/pttbbs.conf @@ -71,6 +71,9 @@ //#define CRITICAL_MEMORY //#define CMSIGNAL SIGINFO +/* 砞﹚程禦碭獺絚 (default: 1000) */ +#define MAX_EXKEEPMAIL (1000) + /* 玡秈礶 */ #define INSCREEN \ "玡秈礶 (叫 pttbbs.conf э眤玡秈礶)" |