summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-11-03 02:24:15 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-11-03 02:24:15 +0800
commit12313f0ae70508c713537b6ce3a011503bf51701 (patch)
tree405332e3f5baf27f8a3504a1ad3f1eca7480ff6a
parentc7b8d6a06a0de11a52948e9f397dc747ccc6c8fd (diff)
downloadpttbbs-12313f0ae70508c713537b6ce3a011503bf51701.tar
pttbbs-12313f0ae70508c713537b6ce3a011503bf51701.tar.gz
pttbbs-12313f0ae70508c713537b6ce3a011503bf51701.tar.bz2
pttbbs-12313f0ae70508c713537b6ce3a011503bf51701.tar.lz
pttbbs-12313f0ae70508c713537b6ce3a011503bf51701.tar.xz
pttbbs-12313f0ae70508c713537b6ce3a011503bf51701.tar.zst
pttbbs-12313f0ae70508c713537b6ce3a011503bf51701.zip
Merge different version of "personal abstract" from SOB user.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2306 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/merge.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/mbbsd/merge.c b/mbbsd/merge.c
index 3d1404f1..2668d059 100644
--- a/mbbsd/merge.c
+++ b/mbbsd/merge.c
@@ -151,13 +151,24 @@ m_sob()
}
if(getans("�O�_�פJ�ӤH�H�c��ذ�(�ӤH�@�~��)? (�|�л\\�{���]�w) (y/N)")=='y')
{
+ fileheader_t fh;
sprintf(buf,
- "rm -rd home/%c/%s/man>/dev/null ; mv sob/home/%c/%s/man home/%c/%s",
+ "rm -rd home/%c/%s/man>/dev/null ; "
+ "mv sob/home/%c/%s/man home/%c/%s>/dev/null;"
+ "mv sob/home/%c/%s/gem home/%c/%s/man>/dev/null",
cuser.userid[0], cuser.userid,
userid[0], userid,
+ cuser.userid[0], cuser.userid,
+ userid[0], userid,
cuser.userid[0], cuser.userid);
system(buf);
strcat(msg, "�פJ�ӤH�H�c��ذ�(�ӤH�@�~��)\n");
+
+ strcat(fh.title, "�� �ӤH�@�~��");
+ strcat(fh.filename, "gem");
+ sprintf(fh.owner, cuser.userid);
+ sprintf(buf, "home/%c/%s/man/.DIR", cuser.userid[0], cuser.userid);
+ append_record(buf, &fh, sizeof(fh));
}
if(getans("�O�_�פJ�n�ͦW��? (�|�л\\�{���]�w, ID�i��O���P�H)? (y/N)")=='y')
{