summaryrefslogtreecommitdiffstats
path: root/util/buildAnnounce.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-07-20 08:55:34 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-07-20 08:55:34 +0800
commit24ec3204b34c9e6749b9312f2edb84edb2a4cb34 (patch)
tree4c4bc5443344d91ab20163b0ed491732d2a732ed /util/buildAnnounce.c
parent047bb28fce410663731f69295cff89ab902a6085 (diff)
downloadpttbbs-24ec3204b34c9e6749b9312f2edb84edb2a4cb34.tar
pttbbs-24ec3204b34c9e6749b9312f2edb84edb2a4cb34.tar.gz
pttbbs-24ec3204b34c9e6749b9312f2edb84edb2a4cb34.tar.bz2
pttbbs-24ec3204b34c9e6749b9312f2edb84edb2a4cb34.tar.lz
pttbbs-24ec3204b34c9e6749b9312f2edb84edb2a4cb34.tar.xz
pttbbs-24ec3204b34c9e6749b9312f2edb84edb2a4cb34.tar.zst
pttbbs-24ec3204b34c9e6749b9312f2edb84edb2a4cb34.zip
merge from MergeCache
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1065 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util/buildAnnounce.c')
-rw-r--r--util/buildAnnounce.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/buildAnnounce.c b/util/buildAnnounce.c
index 1db151f9..0bfbefbd 100644
--- a/util/buildAnnounce.c
+++ b/util/buildAnnounce.c
@@ -62,13 +62,14 @@ void buildchilds(int level,char *path,int gid)
}
-int main()
+int main(int argc, char **argv)
{
char path[512];
setsid();
strcpy(path,GROUPROOT);
system("rm -rf "GROUPROOT);
mkdir(GROUPROOT,0766);
+ attach_SHM();
resolve_boards();
buildchilds(0,path,1);
return 0;