summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-03-10 11:13:03 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-03-10 11:13:03 +0800
commit6678caf6b8a83016e6765b7d0c34d53e159a1477 (patch)
tree4a7502a6fde79d78e9f77ffd59df67369dd8631d
parentcd14aa08b5d8ed37ea770d0bcec8414b1f6dbd70 (diff)
downloadpttbbs-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.h15
-rw-r--r--sample/pttbbs.conf3
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 э眤玡秈礶)"