summaryrefslogtreecommitdiffstats
path: root/mbbsd/more.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-08-20 10:42:36 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-08-20 10:42:36 +0800
commit70148db3434a3d889218972a490437d2f3363036 (patch)
treebd2f9f0695968b8a34524e6fdb84d025b03b928b /mbbsd/more.c
parent0b5909999dcc7f79f44e1fda88223d24dc612ccf (diff)
downloadpttbbs-70148db3434a3d889218972a490437d2f3363036.tar
pttbbs-70148db3434a3d889218972a490437d2f3363036.tar.gz
pttbbs-70148db3434a3d889218972a490437d2f3363036.tar.bz2
pttbbs-70148db3434a3d889218972a490437d2f3363036.tar.lz
pttbbs-70148db3434a3d889218972a490437d2f3363036.tar.xz
pttbbs-70148db3434a3d889218972a490437d2f3363036.tar.zst
pttbbs-70148db3434a3d889218972a490437d2f3363036.zip
remove OUTTA_CACHE
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@480 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/more.c')
-rw-r--r--mbbsd/more.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/mbbsd/more.c b/mbbsd/more.c
index d7508ce4..fc3434ba 100644
--- a/mbbsd/more.c
+++ b/mbbsd/more.c
@@ -1,4 +1,4 @@
-/* $Id: more.c,v 1.19 2002/07/27 10:55:30 kcwu Exp $ */
+/* $Id: more.c,v 1.20 2002/08/20 02:42:36 in2 Exp $ */
#include "bbs.h"
#define MORE_BUFSIZE 4096
#define MORE_WINSIZE 4096
@@ -156,11 +156,7 @@ more(char *fpath, int promptend)
search_char0 = *search_str;
*search_str = 0;
-#ifdef MDCACHE
- fd = mdcacheopen(fpath);
-#else
fd = open(fpath, O_RDONLY, 0600);
-#endif
if (fd < 0)
return -1;