diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-11-09 05:18:23 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-11-09 05:18:23 +0800 |
commit | f5f831e975e82105adc2af11045ef9245aa9e431 (patch) | |
tree | 3f5702f8aefcc28f5f8651e91e3f1276cdde9e0c /util | |
parent | 5b17379b7b9e93482ce886ee75eae41b2e5a9bb6 (diff) | |
download | pttbbs-f5f831e975e82105adc2af11045ef9245aa9e431.tar pttbbs-f5f831e975e82105adc2af11045ef9245aa9e431.tar.gz pttbbs-f5f831e975e82105adc2af11045ef9245aa9e431.tar.bz2 pttbbs-f5f831e975e82105adc2af11045ef9245aa9e431.tar.lz pttbbs-f5f831e975e82105adc2af11045ef9245aa9e431.tar.xz pttbbs-f5f831e975e82105adc2af11045ef9245aa9e431.tar.zst pttbbs-f5f831e975e82105adc2af11045ef9245aa9e431.zip |
Linux compatible
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@568 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util')
-rw-r--r-- | util/bbsctl.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/util/bbsctl.c b/util/bbsctl.c index 9618f5de..998cd98c 100644 --- a/util/bbsctl.c +++ b/util/bbsctl.c @@ -183,6 +183,7 @@ int bbstest(int argc, char **argv) int Xipcrm(int argc, char **argv) { +#ifdef FreeBSD char buf[256], cmd[256]; FILE *fp; sprintf(buf, IPCS " | " AWK " '{print $1 $2}'"); @@ -200,6 +201,10 @@ int Xipcrm(int argc, char **argv) pclose(fp); system(IPCS); return 0; +#else + puts("not implement!"); + return 1; +#endif } int permreport(int argc, char **argv) |