summaryrefslogtreecommitdiffstats
path: root/mbbsd/merge.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-06-30 01:55:49 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-06-30 01:55:49 +0800
commit4960c6f354132ea0fa0b19382fd8a80fab2b80da (patch)
tree5f0e68470538511ff884c4bc83d7ed62282611d7 /mbbsd/merge.c
parent29e58e53604571944c60b373b23a9790efdc73bd (diff)
downloadpttbbs-4960c6f354132ea0fa0b19382fd8a80fab2b80da.tar
pttbbs-4960c6f354132ea0fa0b19382fd8a80fab2b80da.tar.gz
pttbbs-4960c6f354132ea0fa0b19382fd8a80fab2b80da.tar.bz2
pttbbs-4960c6f354132ea0fa0b19382fd8a80fab2b80da.tar.lz
pttbbs-4960c6f354132ea0fa0b19382fd8a80fab2b80da.tar.xz
pttbbs-4960c6f354132ea0fa0b19382fd8a80fab2b80da.tar.zst
pttbbs-4960c6f354132ea0fa0b19382fd8a80fab2b80da.zip
debug of losting the last post
git-svn-id: http://opensvn.csie.org/pttbbs/branches/ptt.fpg@2104 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/merge.c')
-rw-r--r--mbbsd/merge.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mbbsd/merge.c b/mbbsd/merge.c
index 82cfb23e..2cc7f5b1 100644
--- a/mbbsd/merge.c
+++ b/mbbsd/merge.c
@@ -147,13 +147,14 @@ m_fpg()
sethomedir(buf, cuser.userid);
sprintf(genbuf, "fpg/home/bbs/home/%c/%s/.DIR",
userid[0], userid);
- merge_dir(buf, genbuf);
+ merge_dir(buf, genbuf, 1);
strcat(msg, "匯入個人信箱\n");
}
if(getans("是否匯入個人信箱精華區? (Y/n)")!='n')
{
sprintf(buf,
- "mv fpg/home/bbs/home/%c/%s/man home/%c/%s/man",
+ "rm -rd home/%c/%s/man>/dev/null ; mv fpg/home/bbs/home/%c/%s/man home/%c/%s",
+ cuser.userid[0], cuser.userid,
userid[0], userid,
cuser.userid[0], cuser.userid);
system(buf);