summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-01-24 02:39:24 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-01-24 02:39:24 +0800
commit4885e20bea293dc7c318a15c79787ab54bb630e1 (patch)
treee367dd4f5cd3d89c1d9bd284c314288866bed29a
parentb82ade431ee0e899015e0024b5147974ed496a51 (diff)
downloadpttbbs-4885e20bea293dc7c318a15c79787ab54bb630e1.tar
pttbbs-4885e20bea293dc7c318a15c79787ab54bb630e1.tar.gz
pttbbs-4885e20bea293dc7c318a15c79787ab54bb630e1.tar.bz2
pttbbs-4885e20bea293dc7c318a15c79787ab54bb630e1.tar.lz
pttbbs-4885e20bea293dc7c318a15c79787ab54bb630e1.tar.xz
pttbbs-4885e20bea293dc7c318a15c79787ab54bb630e1.tar.zst
pttbbs-4885e20bea293dc7c318a15c79787ab54bb630e1.zip
remove #define MAXPATHLEN 256
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@644 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/more.c3
-rw-r--r--mbbsd/read.c4
-rw-r--r--mbbsd/xyz.c4
3 files changed, 3 insertions, 8 deletions
diff --git a/mbbsd/more.c b/mbbsd/more.c
index 46f77c87..b4fe1948 100644
--- a/mbbsd/more.c
+++ b/mbbsd/more.c
@@ -1,4 +1,4 @@
-/* $Id: more.c,v 1.23 2003/01/16 11:58:04 kcwu Exp $ */
+/* $Id: more.c,v 1.24 2003/01/23 18:39:23 in2 Exp $ */
#include "bbs.h"
#define MORE_BUFSIZE 4096
#define MORE_WINSIZE 4096
@@ -8,7 +8,6 @@ static int more_base, more_size, more_head;
static unsigned char more_pool[MORE_BUFSIZE];
-#define MAXPATHLEN 256
static char *more_help[] = {
"\0閱\讀文章功\能鍵使用說明",
"\01游標移動功\能鍵",
diff --git a/mbbsd/read.c b/mbbsd/read.c
index 5243a0cd..ea2e4a73 100644
--- a/mbbsd/read.c
+++ b/mbbsd/read.c
@@ -1,8 +1,6 @@
-/* $Id: read.c,v 1.17 2003/01/19 16:18:17 kcwu Exp $ */
+/* $Id: read.c,v 1.18 2003/01/23 18:39:24 in2 Exp $ */
#include "bbs.h"
-#define MAXPATHLEN 256
-
static fileheader_t *headers = NULL;
static int last_line;
static int hit_thread;
diff --git a/mbbsd/xyz.c b/mbbsd/xyz.c
index 948a4275..d1e386f1 100644
--- a/mbbsd/xyz.c
+++ b/mbbsd/xyz.c
@@ -1,4 +1,4 @@
-/* $Id: xyz.c,v 1.15 2003/01/19 16:06:06 kcwu Exp $ */
+/* $Id: xyz.c,v 1.16 2003/01/23 18:39:24 in2 Exp $ */
#include "bbs.h"
/* 各種統計及相關資訊列表 */
@@ -393,8 +393,6 @@ Goodbye()
#define MAXENVS (20)
#define BINDIR BBSHOME"/bin/"
-#define MAXPATHLEN 256
-
#ifdef HAVE_TIN
static int
x_tin()