summaryrefslogtreecommitdiffstats
path: root/mbbsd/read.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-05-02 23:01:58 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-05-02 23:01:58 +0800
commit1bd5e9b55a1998899e6569b72fd3a6388b952f09 (patch)
tree5f9fc393f5c6a7ede4250e60fee6b256716e9f02 /mbbsd/read.c
parentc2b2860276b8fd1976373bb776f784689af98ea1 (diff)
downloadpttbbs-1bd5e9b55a1998899e6569b72fd3a6388b952f09.tar
pttbbs-1bd5e9b55a1998899e6569b72fd3a6388b952f09.tar.gz
pttbbs-1bd5e9b55a1998899e6569b72fd3a6388b952f09.tar.bz2
pttbbs-1bd5e9b55a1998899e6569b72fd3a6388b952f09.tar.lz
pttbbs-1bd5e9b55a1998899e6569b72fd3a6388b952f09.tar.xz
pttbbs-1bd5e9b55a1998899e6569b72fd3a6388b952f09.tar.zst
pttbbs-1bd5e9b55a1998899e6569b72fd3a6388b952f09.zip
avoid race condition at tag board->paste board
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1917 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/read.c')
-rw-r--r--mbbsd/read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/read.c b/mbbsd/read.c
index ea8dd169..ce6205cd 100644
--- a/mbbsd/read.c
+++ b/mbbsd/read.c
@@ -381,7 +381,7 @@ select_read(keeploc_t * locmem, int sr_mode)
else
setbfile(newdirect, currboard, genbuf);
- if( now - dasht(newdirect) < 1200 )
+ if( now - dasht(newdirect) < 3600 )
count = dashs(newdirect);
else {
if( (fd = open(newdirect, O_CREAT | O_RDWR, 0600)) == -1 )