summaryrefslogtreecommitdiffstats
path: root/util
Commit message (Collapse)AuthorAgeFilesLines
* - fix reaper utility to make it really works.piaip2008-03-291-9/+139
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4038 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) move UTIL_C API from mbbsd/stuff to cmbbs.piaip2008-03-271-4/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4031 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* (internal) refine directory layout: libbbs/libbbsutil -> common/bbs,sys.piaip2008-03-271-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4027 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) move osdep to libbbsutilpiaip2008-03-261-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4026 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) util update - sync with latest librarypiaip2008-03-266-232/+24
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4024 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - revise code slightly.piaip.newlayout@4011kcwu2008-03-201-51/+67
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4011 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix bug: board active user limit (may exceed 32768)piaip2008-03-101-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3982 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - xchatd: allow ignoring users not in chatroom.piaip2008-02-151-9/+57
| | | | | | | - chat: help/prompt msg fix git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3918 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - xchatd: prevent malicious user flooding chat page to hide his useridpiaip2008-01-281-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3877 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* avoid empty filenameswens2008-01-251-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3863 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - revise passwd_apply() api, prevent use global variable to pass data.kcwu2008-01-241-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3859 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - xchatd: prevent ignored users flood by entering/leaving chatroomspiaip2008-01-101-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3816 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - display userid in xchatd (to prevent spammers, reported by PttSuggest)piaip2008-01-061-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3797 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * extract common functions as library.kcwu2007-12-1216-268/+21
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3673 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * uhash use userid="" to denote free slot for new register.kcwu2007-12-121-0/+30
| | | | | | | | However, such entries will have the same hash key. So we skip most of invalid userid to prevent lots of hash collision. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3672 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * change util/account.c per_hour_unit to 100.kcwu2007-12-121-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3671 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change hard coded PTT to macrospiaip2007-12-096-7/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3656 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * eliminate warningskcwu2007-10-172-8/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3584 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add LDFLAGS for compiling bbsctl.mhsin2007-09-211-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3567 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix compilekcwu2007-09-211-17/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3566 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * revise Makefilekcwu2007-09-201-10/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3559 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Update.mhsin2007-09-181-3/+3
| | | | | | | To link util_osdep.o for bbsctl. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3556 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* New STOP mechanism. Try not to kill ALL processes at the same time.mhsin2007-09-171-7/+172
| | | | | | | | | | (by mhsin) Revised permreport stuff. (by kcwu) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3554 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* update Makefile.kcwu2007-06-101-8/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3537 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* delete obsolete utilities.kcwu2007-06-091-8/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3536 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* delete obsolete utilities.kcwu2007-06-093-145/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3535 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* delete obsolete utilities.kcwu2007-06-095-211/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3534 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Log angel changing action and report every weekscw2007-06-041-1/+31
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3532 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix bug: "expire" didn't delete files!kcwu2007-06-021-14/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3529 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add shutdown flagkcwu2007-05-271-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3516 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* s/max_film/last_film/victor2007-05-041-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3511 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix util/birth.cvictor2007-04-162-3/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3505 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* horoscope flavor birthday cardvictor2007-04-161-19/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3503 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Leave unprocessed line unchanged when doing chesscountry things.scw2007-03-161-4/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3488 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Police Manager, can search user infowens2007-03-131-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3487 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Score and svn tagswens2007-03-131-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3485 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* log osongvictor2007-01-131-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3474 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix potential security holewens2006-12-281-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3463 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugswens2006-12-281-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3462 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* wretch bbs man converterwens2006-12-282-0/+116
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3461 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Dealing with angels for waterball arrangement.scw2006-12-051-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3451 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* #define MAX_GUESTvictor2006-11-201-1/+1
| | | | | | | | fix util/stock.perl thanks watch.bbs@ptt2 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3446 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* sleep longer when BAN_FILE presentwens2006-10-071-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3441 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move counterwens2006-09-171-7/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3424 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix compile errorwens2006-09-141-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3412 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* correct counter.wens2006-09-111-3/+12
| | | | | | | help message. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3410 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* bug fix: sort banip list numerically instead of dictionary orderkcwu2006-09-011-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3408 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* currpid not initialized.wens2006-08-291-3/+7
| | | | | | | add option to specify broadcaster. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3401 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* site-wide broadcastwens2006-08-212-1/+74
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3399 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* build banned ip list on compilewens2006-06-181-0/+151
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3374 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* handle ALLHIDPOSTin22006-06-021-0/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3363 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* mkdir jobspool/in22006-05-201-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3360 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* bug fix: online user number is SHM->UTMPnumber instead of SHM->number. ↵kcwu2006-04-011-4/+0
| | | | | | however, don't modify it here. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3316 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove dead program.kcwu2006-03-272-53/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3303 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove dangerous function.kcwu2006-03-271-5/+0
| | | | | | | rename it if anyone want that function. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3302 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* GO scoring and displaying on userlist.scw2006-03-121-4/+26
| | | | | | | !!!NOTE: shared memory changed!!! git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3276 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fav:victor2005-11-211-1/+1
| | | | | | | | | | remove unused and deprecated features return NULL if malloc(0) buildAnnounce: qsort takes pointer ... git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3245 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* ignore leading '[' when scanning BM list in toplazyBM.cscw2005-11-021-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3237 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add fixbcachein22005-10-281-0/+57
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3235 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* missing commit for r3231in22005-10-271-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3232 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* single daemon for all portsin22005-10-211-21/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3228 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* changes mailalert to 1 bit only.ptt2005-10-134-4/+5
| | | | | | | | reserved other 7 trigers for updating current status on the fly when user is online. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3223 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make the ticket number less preditable.kcwu2005-10-061-58/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3220 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* prevent unsupported localepiaip2005-09-201-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3195 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* verbose ver.cpiaip2005-09-201-0/+21
| | | | | | | pretty print for board-config (I) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3194 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove unused option (-o)victor2005-09-181-31/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3190 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1.now = time(NULL) instead of time(&now)in22005-09-121-2/+11
| | | | | | | | 2.#if 0 for update_brd 3.fix compilation error when NOKILLWATERBALL & !OUTTATIMER (thanks rafan) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3164 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reflect changes of ident in userec_tpiaip2005-09-121-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3158 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix toplazyBM and toplazyBBM mailing and logging wrong id bugscw2005-09-112-139/+139
| | | | | | | * indent toplazyBBM.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3156 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* catch SIGXCPU for debug.piaip.automake@3147kcwu2005-09-101-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3147 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * larger default DEF_(DAYS|MAXP|MINP)in22005-08-261-51/+96
| | | | | | | | | | * check only not really delete files (-n) * unlink SR.* by opendir(2)/readdir(2) instead of system("rm SR.*") or fail when handling huge dir * better output messages * re-indent some code git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3084 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* toplazyBM.c:scw2005-08-221-149/+155
| | | | | | | * fix problem when BM login *during* checking * indent, fix code style git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3071 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * chess country includes GO nowscw2005-08-211-0/+4
| | | | | | * fix warning in gomo.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3070 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* process argv[] before setproctitle()in22005-08-201-3/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3068 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* take care of buffer size, try to avoid crash.kcwu2005-08-181-19/+33
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3060 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* it's stupid to call c program in perl for string manipulation.kcwu2005-08-164-57/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3050 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* update Makefilevictor2005-08-141-1/+1
| | | | | | | thanks rafan git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3035 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove interface to ``train schedule information service''victor2005-08-131-119/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3031 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* util to know the amount of tickets for ticket.dataptt2005-08-092-1/+27
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3016 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add super sys support op (群組長)wens2005-08-081-10/+4
| | | | | | | HUGETLB doesn't need root git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3010 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Revision 3000piaip2005-08-064-4/+187
| | | | | | | - sync with ptt1 local modified source git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3000 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* various money related fixpiaip2005-08-061-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2993 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - multi.money updates,piaip2005-08-051-1/+1
| | | | | | | | - experimental money listing mode - prevent unread black-hole mails git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2987 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix file.multi.money issuepiaip2005-08-051-1/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2986 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* utility updatepiaip2005-07-282-24/+47
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2972 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* mark as brokenpiaip2005-07-251-0/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2955 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* sync with PTT1 local modified source:piaip2005-07-231-4/+30
| | | | | | | | | - debug with msgfwderr - enlarge thread search range - more verbose board info git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2942 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add util to write money in SHM back to disk.wens2005-07-084-27/+55
| | | | | | | | SVN keywords. fix bid output in showboard. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2919 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix #2897: should be board directories, not homepiaip2005-07-061-0/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2898 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* initbbs should also create 0-9 to prevent errors.piaip2005-07-061-0/+5
| | | | | | | thx to CatMan in ptt2-PttBug git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2897 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add tools for PMake v2piaip2005-07-051-0/+42
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2895 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* apply rafan's (rafan.bbs@ptt2.cc) big patch to s/username/nickname/gvictor2005-07-045-10/+10
| | | | | | | turn off FOREIGN_REG by default in sample/pttbbs.conf git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2887 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commitwens2005-06-181-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2851 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix not able to fix uhashwens2005-06-181-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2850 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* better readability.in22005-06-148-7/+8
| | | | | | | | | real => adminmode, HAS_PERM() => HasUserPerm(), HasPerm() => HasBoardPerm(). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2840 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugin22005-06-111-7/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2822 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* skip wrong datetimein22005-06-101-4/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2819 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* rewritein22005-06-101-133/+66
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2818 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* convenient board watcher tools.piaip2005-04-202-27/+118
| | | | | | | | Suggestion: .BRD should have '0RootClass' as first board ([0]). Because the buggy board class thinks .BRD[0] as class root. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2702 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use BBSUID instead 9999in22005-04-041-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2686 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* bug fix: last one entry is lostkcwu2005-03-271-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2683 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* more statistickcwu2005-03-271-0/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2681 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug introduced by r2627kcwu2005-03-271-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2680 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix format stringkcwu2005-03-271-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2678 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* bind xchatd to localhost onlywens2005-03-211-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2669 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* statistic for user's first login todaykcwu2005-03-191-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2653 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* statistickcwu2005-03-191-1/+43
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2651 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make usage of shmctl look betterkcwu2005-03-191-21/+34
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2649 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove dead codekcwu2005-03-191-5/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2648 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* extract unit of login timeskcwu2005-03-191-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2647 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* test if SHM->gap are all zerokcwu2005-03-191-0/+42
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2646 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change author of waterlog. to avoid editing.kcwu2005-03-191-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2638 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add 'const' qualifiers on function parameters.kcwu2005-03-197-9/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2632 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make non-c99 compiler happykcwu2005-03-152-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2628 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning: searchuser() getuser() API change, don't change query string ↵kcwu2005-03-1510-12/+11
| | | | | | implicitly. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2627 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pass (1, argv) into sub main functionsin22005-03-141-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2622 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* kick guest who idle more then 15 minuteskcwu2005-03-141-17/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2621 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* bugfix: some user will always stay in friends' friend list after logoutkcwu2005-03-141-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2620 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove dead filekcwu2005-03-132-51/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2614 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move 232 bytes from data section to rodata sectionkcwu2005-03-121-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2600 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move global variable xuser into local, save 512 bytes.kcwu2005-03-127-15/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2596 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* makefile clean upkcwu2005-03-123-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2593 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bad codekcwu2005-03-101-3/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2589 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix compile error when not defining USE_HUGETLB.scw2005-03-091-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2586 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix alignment and permission problems when USE_HUGETLB.in22005-03-092-24/+28
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2583 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add "cool down" feature for boards.wens2005-03-092-0/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2582 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add support for hugetblpage of Linux 2.6wens2005-03-082-3/+15
| | | | | | | do not use this if you do not know what this is git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2581 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove personal ident for registration.in22005-03-082-6/+19
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2580 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Make matching of chess country picture more currectly.scw2005-03-081-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2579 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add regtime to post & vote limitswens2005-03-031-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2573 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use FNV hash functionkcwu2005-02-281-14/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2566 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* don't trust string on shm, to avoid crashkcwu2005-02-281-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2559 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugin22005-02-261-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2555 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* run timed just after attach_SHM()kcwu2005-02-261-5/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2552 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * use fnv hash function for all hash.kcwu2005-02-264-67/+27
| | | | | | | | | | | * add version field in SHM. * clean up & reorder SHM, add gaps between arrays. * enlarge USHM_SIZE. * remove unused shmsweep.c. * WARNING, you need to stop bbs and clean old shm before run this revision. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2549 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* missing commit for 2541in22005-02-251-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2542 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* for saving memory, perl script to filter out unnecessary environment variableskcwu2005-02-251-0/+28
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2539 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove descrypt.c.kcwu2005-02-242-626/+6
| | | | | | | let xchatd use libdes crypt(). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2532 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make valgrind happykcwu2005-02-241-0/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2526 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugin22005-02-231-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2525 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* rewritein22005-02-191-1/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2520 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Match prefix instead of whole string when scanning chess country photo.scw2005-02-131-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2508 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* if exec(2) fails, sleep 3 secs to prevent floodingin22005-02-121-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2506 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add include headers in FreeBSDin22005-02-121-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2505 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * add random self-test.kcwu2005-02-101-6/+227
| | | | | | | | * bug fix: msg[79]=0 is out of array. * comment on possible crash situation. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2486 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commitkcwu2005-02-091-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2484 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* QP encode mail subject (rfc2047).kcwu2005-02-091-3/+39
| | | | | | | qp_encode() modified from mutt-1.5.7/rfc2047.c q_encoder(). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2483 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix typo of chat action commandkcwu2005-02-081-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2482 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* bug fix: don't use free'd pointerkcwu2005-02-081-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2481 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* code clean up. rewrite few lines.kcwu2005-02-081-652/+257
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2480 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning freekcwu2005-02-081-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2479 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* logout_friend_online() fault tolerantkcwu2005-02-061-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2471 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* code clean up.kcwu2005-02-061-45/+49
| | | | | | | | purge utmp only if no bad field. don't change friend's friend if friend's field is bad. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2469 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* bug fix: variable uninitialized in utmpfix daemon-sleep mode.victor.edit@2465kcwu2005-02-051-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2465 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change function declare from k&r style to ansi style.kcwu2005-02-052-285/+108
| | | | | | | | | | fix two bug detected by compiler because style change. replace some sprintf with snprintf replace str_ncpy with strlcpy comment on strange code git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2461 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* replace rand() with random() for better randomnesskcwu2005-02-041-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2460 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* comment on bad random number usagekcwu2005-02-032-3/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2456 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* in utmpfix, send SIGKILL if the processes are not response to SIGHUP.in22005-01-311-9/+35
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2450 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* cut hash if there is big trouble and fix it later.ptt2005-01-291-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2442 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix a bug on remove .ptt2005-01-281-4/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2439 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove redundent ctime4wens2005-01-271-7/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2436 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Let admin fix passwd shm on the fly.ptt2005-01-271-27/+62
| | | | | | | | Don't need to restart mbbsd. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2435 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Collect all the five chess log to a board if GLOBAL_FIVECHESS_LOGscw2005-01-251-1/+10
| | | | | | | is define. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2433 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change time_t to time4_twens2005-01-251-2/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2432 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* more ctime to ctime4wens2005-01-251-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2431 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use ctime4 for compat on x86_64wens2005-01-253-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2430 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use bbs.hin22005-01-251-13/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2428 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use time4_t(uint32_t) instead of time_t for x86-64 arch.in22005-01-2424-127/+61
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2426 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Allow user to modify their chess country self-description.scw2005-01-231-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2420 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* generic support for ssh hostname via SSH_CLIENT env (with support for ipv6 ↵wens2005-01-201-29/+10
| | | | | | | | | like IPs) fix shell mode proctitle git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2414 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix sorting criteria for chc/five recordkcwu2005-01-171-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2406 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add post limits for BM.wens2005-01-071-2/+4
| | | | | | | | rename "do_votelimitedit" to "do_limitedit". rename "zerovotelimit.c" to "zero_limits.c". git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2388 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix stupid bug in utmpfix...wens2005-01-011-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2385 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge ptt.linux againwens2004-12-112-66/+72
| | | | | | | | | | | WARNING! There are some major differences in SHM_t. All pointers storing offsets in SHM_t have been changed to indexes. When updating to this revision, please rebuild the whole tree and restart the entire BBS system (kill all users first, stop, and start). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2374 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* discard r2368 due to compilation failurein22004-12-062-72/+66
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2371 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge ptt.linuxwens2004-12-052-66/+72
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2368 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* changed money in fileheader_t into unionwens2004-12-031-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2363 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Telling where the BBS data will be placed in initbbs.scw2004-11-291-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2358 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* added util to zero vote limits.wens2004-11-211-0/+47
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2346 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* do not install UTIL_OBJS to ~/bin/in22004-10-311-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2299 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* always respect to BBSHOMEkcwu2004-10-311-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2290 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* chess listing sorted by rating(conditional) and player attitutekcwu2004-10-281-2/+19
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2283 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* typo, thanks wensvictor2004-10-251-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2280 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add daemon mode for utmpfixin22004-10-251-27/+48
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2279 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* init userec_t versionvictor2004-10-241-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2275 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* apply memcpy() instead of strlcpy() to mindin22004-10-241-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2274 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* WARNINGvictor2004-10-232-0/+149
| | | | | | | | | revise userec_t structure (enlarge numpost, numlogins, and add column "version") provide util/passwdconverter to help the convertion git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2273 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* if some utmp records fails, utmpfix will clean the recordsin22004-10-201-7/+28
| | | | | | | and also kill them if their pids > 0. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2270 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix utmpfix that corrupt SHMkcwu2004-10-191-1/+8
| | | | | | | make utmpfix more sensitive on bad userid and friend number git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2266 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* shmctl should NOT fail in utmpfix, but when something wrongin22004-10-191-4/+31
| | | | | | | | | in SHM, this would happen and utmp is still dirty. so now shmctl will fork(2) before real utmpfix, and if it fails, utmpfix will start again automatically. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2265 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1.support ipcrm in Linux and setuid to BBSADM ad the same time tovictor2004-10-171-10/+32
| | | | | | | | | | prevent accidentally remove other's shm 2.s#/home/bbs#BBSHOME# thanks wens' patch :) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2261 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* typoin22004-10-091-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2236 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* order by play count>0 firstkcwu2004-10-091-6/+22
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2231 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use perl instead of pperl. pperl breaks too often.in22004-09-301-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2215 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* correct revision 2210victor2004-09-231-0/+8
| | | | | | | add reloadfcache to shmctl git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2209 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix that adding file.c in r2207 causes compile failure in util/.in22004-09-221-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2206 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix buffer size bug and correcting output.in22004-09-161-5/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2196 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Ignore the ones whose PERM_ANGEL have been removed in angel.c.scw2004-09-152-25/+28
| | | | | | | Using $(MAKE) instead of 'make' in util/Makefile. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2195 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Personal chess country data query done.scw2004-09-121-5/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2194 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Solaris compatiblevictor2004-09-123-11/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2193 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* ignore \e and \b in titlein22004-09-111-4/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2190 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge back from branch victor.solarisvictor2004-09-104-49/+50
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2189 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* better outputin22004-09-041-3/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2178 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Chess country files adding.scw2004-08-291-4/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2174 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Chess country basic things constructing.scw2004-08-122-1/+185
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2162 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* new filtermailin22004-08-051-23/+23
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2160 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* WITHFILTERMAIL flagin22004-08-041-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2156 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use int instead of longin22004-07-301-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2151 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* discard the situationptt2004-07-272-0/+2
| | | | | | | | PERM_SYSOPHIDE git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2146 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugin22004-07-151-6/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2138 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commitin22004-07-131-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2137 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* link old usies into log/in22004-07-121-17/+19
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2131 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reindentptt.fpg@2121in22004-07-101-178/+134
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2121 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix some compile warning and make error.scw2004-06-292-4/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2099 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Merge bbs merge moduleptt.fpg@2092ptt2004-06-261-1/+1
| | | | | | | | usage: make -D BBSMERGE to enable this module git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2091 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* A util to produce (G)ivemoney format file from gamble resultptt2004-06-222-1/+30
| | | | | | | | whis is used for fixing the controversial gamble. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2075 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Change the output format and don't use bbsmail to avoid REJ_OUTTAMAIL.scw2004-06-201-45/+110
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2073 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add statistic program for angel.scw2004-06-203-2/+116
| | | | | | | fix some warning and add svn:keywords Id for several files. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2072 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use $(CCACHE)kcwu2004-06-041-8/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2047 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning freekcwu2004-06-042-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2046 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add tools to translate man from eagle bbs system (ex.bbs.ntu.edu.tw)ptt2004-06-022-1/+58
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2042 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* discard 1998in22004-05-241-3/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2019 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Avoid overriding backup file.scw2004-05-241-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2017 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add reloadbcachein22004-05-241-1/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2016 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Make convert work without PLAY_ANGEL defined.victor.screen@2015scw2004-05-241-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2015 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Merge from scw.angel.scw2004-05-243-1/+69
| | | | | | | | *NOTE* Before running this revision, please read PttCurrent board at telnet://ptt.cc or http://scwg.wiki.ptt.cc/-Angel git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2014 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove SR.*, cache of search, when expirePtt.save_title@2006ptt2004-05-191-4/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2005 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add stampfilefd() to avoid race conditionin22004-05-171-8/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1998 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* avoid SHM->bsorted[type][n] == NULLin22004-05-041-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1922 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove unused programsin22004-05-025-201/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1916 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* modified the festival functionjack2004-04-241-7/+27
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1845 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use atoi instead strcmpin22004-04-221-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1805 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix compile error & warning freein22004-04-152-3/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1766 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix Makefile problem on installing.scw2004-04-111-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1739 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge dirptt2004-04-082-9/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1727 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* tool to merge .dir for boardsptt2004-04-081-10/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1726 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge dir toolsptt2004-04-082-1/+51
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1725 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add limit ptt2004-04-081-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1717 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* open output file instead of pipe.scw2004-04-081-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1716 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* passwd change backptt2004-04-071-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1715 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* tools for fix money bugptt2004-04-071-3/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1712 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* checkmoney toolsptt2004-04-061-0/+27
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1710 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* check money to fix moneybugptt2004-04-061-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1709 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* sleep 2 secs between each mail if mail to .bbs (or breaks bbsmail)in22004-04-061-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1707 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add FILE_BOTTOM for push_bottomptt2004-04-061-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1699 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* bug fixed ptt2004-03-311-19/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1647 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* uhashloader debugptt2004-03-311-3/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1646 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* debug cuserptt2004-03-313-33/+33
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1645 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* uhash_loader debugptt2004-03-311-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1644 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1634 ↵ptt2004-03-301-1/+1
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204