summaryrefslogtreecommitdiffstats
path: root/innbbsd
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-03-18 19:26:23 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-03-18 19:26:23 +0800
commit8be710863b3870e8c096058e6a17f2338acff52d (patch)
tree769626f6a13c35ce6e41d90293718687bb433ac1 /innbbsd
parentb82d7ceb9f36870d711938892eaac40b9e5fb39a (diff)
downloadpttbbs-8be710863b3870e8c096058e6a17f2338acff52d.tar
pttbbs-8be710863b3870e8c096058e6a17f2338acff52d.tar.gz
pttbbs-8be710863b3870e8c096058e6a17f2338acff52d.tar.bz2
pttbbs-8be710863b3870e8c096058e6a17f2338acff52d.tar.lz
pttbbs-8be710863b3870e8c096058e6a17f2338acff52d.tar.xz
pttbbs-8be710863b3870e8c096058e6a17f2338acff52d.tar.zst
pttbbs-8be710863b3870e8c096058e6a17f2338acff52d.zip
- Fix compilation error: Rename is now in libbbsutil.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4007 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'innbbsd')
-rw-r--r--innbbsd/bbslink.c3
-rw-r--r--innbbsd/receive_article.c2
2 files changed, 5 insertions, 0 deletions
diff --git a/innbbsd/bbslink.c b/innbbsd/bbslink.c
index b23c0bdc..fde7af9e 100644
--- a/innbbsd/bbslink.c
+++ b/innbbsd/bbslink.c
@@ -162,6 +162,8 @@ is_outgo_post(board, filename, userid, nickname, subject)
}
return 0;
}
+
+#if 0 // moved to libbbsutil
/*
* woju Cross-fs rename()
*/
@@ -177,6 +179,7 @@ Rename(const char *src, const char *dst)
return system(cmd);
}
+#endif
void
bbslink_un_lock(file)
diff --git a/innbbsd/receive_article.c b/innbbsd/receive_article.c
index 87726ab1..4ef00008 100644
--- a/innbbsd/receive_article.c
+++ b/innbbsd/receive_article.c
@@ -815,6 +815,7 @@ post_article(homepath, userid, board, writebody, pathname, firstpath)
* woju Cross-fs rename()
*/
+#if 0 // moved to libbbsutil
int
Rename(const char *src, const char *dst)
{
@@ -827,6 +828,7 @@ Rename(const char *src, const char *dst)
sprintf(cmd, "/bin/mv %s %s", src, dst);
return system(cmd);
}
+#endif
void