summaryrefslogtreecommitdiffstats
path: root/util
Commit message (Collapse)AuthorAgeFilesLines
* - move code of innbbsd/str_decode.c to cmsys/string.ckcwu2009-06-071-3/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4499 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - mbbsd use getopt() to parse command line optionskcwu2009-05-262-10/+6
| | | | | | | - many mbbsd code revises and clean up git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4483 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix compile warning (linux strlcpy)kcwu2009-05-241-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4469 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - code revise, remove dead code.kcwu2009-05-241-69/+38
| | | | | | | | - SSH_CLIENT is deprecated since 2002, use SSH_CONNECTION instead. https://bugzilla.mindrot.org/show_bug.cgi?id=384 - i don't understand ipv6, this commit may break ipv6 support. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4468 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - xchatd: provide real user id in private messages (thanks: Bluesdan@PttSuggest)piaip2009-05-231-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4463 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Enable chess country for reversiscw2008-11-141-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4416 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* mandex: fix check rebuildwens2008-08-161-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4398 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Merged from ptt2 versionwens2008-08-051-14/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4397 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Partial rewrite, make things clearerwens2008-08-051-212/+231
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4396 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix weather reportwens2008-07-181-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4388 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Reorder libraries.wens2008-06-281-2/+2
| | | | | | | Use time() in fhdr_stamp.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4384 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Move stamp* to common library, with weak symbolswens2008-06-191-1/+1
| | | | | | | | Remove stamplink Header file cleanup git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4379 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Split out os dependent librarywens2008-06-171-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4378 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Clean up header dependencieswens2008-06-171-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4377 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Clean up ccache.wens2008-06-171-2/+2
| | | | | | | Add CXXFLAGS git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4376 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Ban more IPs...scw2008-06-151-2/+19
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4353 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Makefile cleanupwens2008-06-131-11/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4349 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Clean up makefileswens2008-06-121-10/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4346 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Move transform programs to seperate directory.wens2008-05-253-181/+1
| | | | | | | Add transformation program for SOB git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4322 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - make "sort by ip" only, since this is more like the way in old day.piaip2008-05-241-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4321 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - improve from_ip sort stylepiaip2008-05-171-2/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4316 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* WARNING: THIS PATCHSET CHANGED SHM STRUCTURE. PLEASE READ UPDATING CAREFULLY.piaip2008-05-131-1/+2
| | | | | | | - (internal) change IP/from sorting mechanism. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4307 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - chat: add /ban and /unban commandspiaip2008-05-111-16/+122
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4298 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) xchatd: remove unused codepiaip2008-05-081-152/+1
| | | | | | | - (internal) general code refine git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4279 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) export osdep from cmsys, fixing bbsctl linking errorpiaip2008-04-191-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4196 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - xchat: fix "waterball exists forever" issue, and prevent printing mail ↵piaip2008-04-181-55/+6
| | | | | | | | | alerts all the time. - visio: improve history navigation ordering git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4187 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change sender address of auto forward to forwarder, to prevent confusion ↵piaip2008-04-161-1/+1
| | | | | | | | | caused by incorrect forward settings. - (internal) change bsmtp to allow assigning from address git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4173 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - reduce unnecessary QP encode in mail subject header.piaip2008-04-161-1/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4172 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Drop Solaris supportwens2008-04-092-23/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4115 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - remove rejects from util/angelpiaip2008-03-311-48/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4052 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) change GLOBAL_* to BN_*piaip2008-03-311-5/+5
| | | | | | | WARNING: PLEASE MANUALLY UPDATE pttbbs.conf!! git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4051 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - 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