summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-07-11 13:25:43 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-07-11 13:25:43 +0800
commit61b719a52fd50c2a48d529a10d64494eaa6fb713 (patch)
treea3ac3cec418b59544c1b1eb075003b4b332a5b53
parent9351e5d49572d05a6aa21309daa315434def299c (diff)
downloadpttbbs-61b719a52fd50c2a48d529a10d64494eaa6fb713.tar
pttbbs-61b719a52fd50c2a48d529a10d64494eaa6fb713.tar.gz
pttbbs-61b719a52fd50c2a48d529a10d64494eaa6fb713.tar.bz2
pttbbs-61b719a52fd50c2a48d529a10d64494eaa6fb713.tar.lz
pttbbs-61b719a52fd50c2a48d529a10d64494eaa6fb713.tar.xz
pttbbs-61b719a52fd50c2a48d529a10d64494eaa6fb713.tar.zst
pttbbs-61b719a52fd50c2a48d529a10d64494eaa6fb713.zip
fix bug of push bottom.
couse the deleting of the original file git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2128 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/record.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/record.c b/mbbsd/record.c
index 3551ebad..6d4b55e1 100644
--- a/mbbsd/record.c
+++ b/mbbsd/record.c
@@ -136,7 +136,7 @@ substitute_ref_record(char *direct, fileheader_t * fhdr, int ent)
int num = 0;
/* rocker.011018: 串接模式用reference增進效率 */
- if ((fhdr->money & FHR_REFERENCE) &&
+ if (!(fhdr->filemode & FILE_BOTTOM) && (fhdr->money & FHR_REFERENCE) &&
(num = fhdr->money & ~FHR_REFERENCE)){
setdirpath(genbuf, direct, ".DIR");
get_record(genbuf, &hdr, sizeof(hdr), num);