summaryrefslogtreecommitdiffstats
path: root/innbbsd/his.c
diff options
context:
space:
mode:
authorwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-01-30 14:17:12 +0800
committerwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-01-30 14:17:12 +0800
commit4617eab09ea42b678c3d6d18c635a0dda3d6ed5a (patch)
tree6e8d0207d1cedf8032ccb94159e50695388eabe7 /innbbsd/his.c
parentea44e808f2c7b77c8c92182aef1bd46e90baac23 (diff)
downloadpttbbs-4617eab09ea42b678c3d6d18c635a0dda3d6ed5a.tar
pttbbs-4617eab09ea42b678c3d6d18c635a0dda3d6ed5a.tar.gz
pttbbs-4617eab09ea42b678c3d6d18c635a0dda3d6ed5a.tar.bz2
pttbbs-4617eab09ea42b678c3d6d18c635a0dda3d6ed5a.tar.lz
pttbbs-4617eab09ea42b678c3d6d18c635a0dda3d6ed5a.tar.xz
pttbbs-4617eab09ea42b678c3d6d18c635a0dda3d6ed5a.tar.zst
pttbbs-4617eab09ea42b678c3d6d18c635a0dda3d6ed5a.zip
Use functions from common library.
Reorder extern.h git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4431 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'innbbsd/his.c')
-rw-r--r--innbbsd/his.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/innbbsd/his.c b/innbbsd/his.c
index 9aaa1373..15345575 100644
--- a/innbbsd/his.c
+++ b/innbbsd/his.c
@@ -64,7 +64,7 @@ mkhistory(srchist)
sprintf(newhistpath, "%s.n", srchist);
sprintf(newhistdirpath, "%s.n.dir", srchist);
sprintf(newhistpagpath, "%s.n.pag", srchist);
- if (!isfile(newhistdirpath) || !isfile(newhistpagpath)) {
+ if (!dashf(newhistdirpath) || !dashf(newhistpagpath)) {
makedbz(newhistpath, DEFAULT_HIST_SIZE);
}
myHISsetup(newhistpath);
@@ -119,7 +119,7 @@ HISmaint(void)
char maintbuff[4096];
char *ptr;
- if (!isfile(HISTORY)) {
+ if (!dashf(HISTORY)) {
makedbz(HISTORY, DEFAULT_HIST_SIZE);
}
hismaint = fopen(HISTORY, "r");
@@ -140,7 +140,7 @@ HISmaint(void)
sprintf(newhistpath, "%s.n", HISTORY);
sprintf(newhistdirpath, "%s.n.dir", HISTORY);
sprintf(newhistpagpath, "%s.n.pag", HISTORY);
- if (!isfile(newhistdirpath)) {
+ if (!dashf(newhistdirpath)) {
makedbz(newhistpath, DEFAULT_HIST_SIZE);
}
myHISsetup(newhistpath);