From 61b719a52fd50c2a48d529a10d64494eaa6fb713 Mon Sep 17 00:00:00 2001 From: ptt Date: Sun, 11 Jul 2004 05:25:43 +0000 Subject: 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 --- mbbsd/record.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mbbsd/record.c') 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); -- cgit v1.2.3