From 66328f0a996dae3dc365d36dc5a9d0fd1ce78145 Mon Sep 17 00:00:00 2001 From: in2 Date: Sun, 19 Jan 2003 01:55:17 +0000 Subject: comments for CRITICAL_MEMORY git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@635 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- sample/pttbbs.conf | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/sample/pttbbs.conf b/sample/pttbbs.conf index 9dda2061..9a2f1433 100644 --- a/sample/pttbbs.conf +++ b/sample/pttbbs.conf @@ -57,12 +57,20 @@ /* 程式最多可以跑多久 (in min) 因為有的時候會出現跑不停的 process */ #define CPULIMIT 1 -/* 若程式失敗, 會等待 86400 秒以讓 gdb來 attach */ +/* 若定義, 若程式失敗, 會等待 86400 秒以讓 gdb來 attach */ #define DEBUGSLEEP -/* 用一個奇怪的數字來檢查我的最愛和看板列表是否錯誤 */ +/* 若定義, 用一個奇怪的數字來檢查我的最愛和看板列表是否錯誤 */ #define MEM_CHECK 0x98761234 +/* 若定義, 則可在外部 (shmctl cmsignal) 要求將 mbbsd將 zapbuf 釋放掉. + 會使用非正規的記憶體要求函式. (目前只在 FreeBSD上測試過) + !!請注意!! + 除非您確切知道這個能能在做什麼並且有須要, + 否則請不要打開這個功能!! */ +//#define CRITICAL_MEMORY +//#define CMSIGNAL SIGINFO + /* 前進站畫面 */ #define INSCREEN \ -"前站站畫面" +"前進站畫面 (請至 pttbbs.conf 修改您的前進站畫面)" -- cgit v1.2.3