From b136074cbf3e7d666f511e9b233abc9587d05b3d Mon Sep 17 00:00:00 2001 From: ptt Date: Thu, 8 Apr 2004 05:13:01 +0000 Subject: push bottom git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1730 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/bbs.c | 2 +- mbbsd/cache.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index d6a6152f..b0d3b140 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -2328,7 +2328,7 @@ push_bottom(int ent, fileheader_t * fhdr, char *direct) if(strstr(direct, ".bottom")) strcpy(buf, direct); else - sprintf(buf, "%s.%s", direct, ".bottom"); + sprintf(buf, "%s.bottom", direct); num = get_num_records(buf, sizeof(fileheader_t)); if(getans(fhdr->filemode & FILE_BOTTOM ? "¨ú®ø¸m©³¤½½§i?(y/N)": diff --git a/mbbsd/cache.c b/mbbsd/cache.c index 6124d361..67864fa8 100644 --- a/mbbsd/cache.c +++ b/mbbsd/cache.c @@ -531,7 +531,7 @@ load_fileheader_bottom_cache(int bid, char *direct) if(n_bottom) { char path[256]; - sprintf(path, "%s.%s", direct, ".bottom"); + sprintf(path, "%s.bottom", direct); get_records(path, &SHM->dircache[bid - 1][dirsize], sizeof(fileheader_t), 1, n_bottom); } -- cgit v1.2.3