summaryrefslogtreecommitdiffstats
path: root/sample
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-12-15 17:53:37 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-12-15 17:53:37 +0800
commit6cd1e2dd9904da07992c18b77f0586a4d77b61de (patch)
treef0262f726c6a3fba2f7fadaea15b9c31d34d6e0b /sample
parentc7179929b7a8a7e56abb07d57fd9e7936a2ca16e (diff)
downloadpttbbs-6cd1e2dd9904da07992c18b77f0586a4d77b61de.tar
pttbbs-6cd1e2dd9904da07992c18b77f0586a4d77b61de.tar.gz
pttbbs-6cd1e2dd9904da07992c18b77f0586a4d77b61de.tar.bz2
pttbbs-6cd1e2dd9904da07992c18b77f0586a4d77b61de.tar.lz
pttbbs-6cd1e2dd9904da07992c18b77f0586a4d77b61de.tar.xz
pttbbs-6cd1e2dd9904da07992c18b77f0586a4d77b61de.tar.zst
pttbbs-6cd1e2dd9904da07992c18b77f0586a4d77b61de.zip
add SAFE_ARTICLE_DELETE,
when using 'd' to delete an article, do not truncate .DIR immediately but add an empty record into the same place. this avoids many problems. (not complete yet) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1407 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'sample')
-rw-r--r--sample/pttbbs.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/sample/pttbbs.conf b/sample/pttbbs.conf
index ff006f90..25e2b250 100644
--- a/sample/pttbbs.conf
+++ b/sample/pttbbs.conf
@@ -119,6 +119,11 @@
/* 使用 rfork()取代 fork() . 目前只在 FreeBSD上有效 */
//#define USE_RFORK
+/* 若定義, 則在刪除看板文章的時候, 僅會在 .DIR 中標明, 並不會將該資料
+ 從 .DIR 中拿掉. 可以避免多項問題 (尤其是熱門看板一堆推薦及編輯時)
+ 須配合使用 (尚未完成) */
+//#define SAFE_ARTICLE_DELETE
+
/* 前進站畫面 */
#define INSCREEN \
"前進站畫面 (請至 pttbbs.conf 修改您的前進站畫面)"