diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-07-25 14:05:53 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-07-25 14:05:53 +0800 |
commit | a0b8e524ca554800eae363391732f420a3ee1997 (patch) | |
tree | 211fcb5a92d422a95c2badfb84dc585587299044 | |
parent | 16d9266f08901d988ca6e339d85eb597951e4a2d (diff) | |
download | pttbbs-a0b8e524ca554800eae363391732f420a3ee1997.tar pttbbs-a0b8e524ca554800eae363391732f420a3ee1997.tar.gz pttbbs-a0b8e524ca554800eae363391732f420a3ee1997.tar.bz2 pttbbs-a0b8e524ca554800eae363391732f420a3ee1997.tar.lz pttbbs-a0b8e524ca554800eae363391732f420a3ee1997.tar.xz pttbbs-a0b8e524ca554800eae363391732f420a3ee1997.tar.zst pttbbs-a0b8e524ca554800eae363391732f420a3ee1997.zip |
mark as broken
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2955 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | util/rmuid.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/util/rmuid.c b/util/rmuid.c index 01898721..b528e01d 100644 --- a/util/rmuid.c +++ b/util/rmuid.c @@ -1,4 +1,7 @@ /* $Id$ */ +#include <stdio.h> + +#if 0 #include "bbs.h" extern int numboards; @@ -11,14 +14,19 @@ int getbidofuid(int uid) for (n=0;n<numboards;n++) { bh = &bcache[n]; + /* unused == uid!? don't use a variable claimed as 'unused!' */ if(bh->unused == uid) return n+1; } return 1; } +#endif int main(int argc, char* argv[]) { + fprintf(stderr, "This utility is marked as broken.\n"); + +#if 0 //struct stat st; int n; boardheader_t bh; @@ -32,6 +40,7 @@ int main(int argc, char* argv[]) //printf("%14.14s%14.14s \r\n",bh.brdname, bh.title); substitute_record("BOARDS.bid", &bh, sizeof(bh), n+1); } +#endif return 0; } |