summaryrefslogtreecommitdiffstats
path: root/util
Commit message (Collapse)AuthorAgeFilesLines
* moving forward!piaip.automakepiaip2005-09-112-70/+55
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/branches/piaip.automake@3154 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Automake is a hard work, still not working now.piaip2005-09-102-0/+114
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/branches/piaip.automake@3152 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
* change function of passwdptt2004-03-301-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1633 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1632 ↵ptt2004-03-301-6/+5
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* before rebootptt2004-03-301-1/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1631 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* faster passwd by lower the lseek.ptt2004-03-301-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1627 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1623 ↵ptt2004-03-291-1/+1
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* support X* for cleaning boards which brdnames start with 'X'in22004-03-261-17/+28
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1609 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix dark hole toolsptt2004-03-232-2/+75
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1600 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Remove unused strcpy().scw2004-03-121-3/+2
| | | | | | | Add bbsmail into Makefile variable CPROG_WITHOUT_UTIL git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1588 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* HOTBOARDCACHEin22004-03-101-3/+31
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1584 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add chkhbfin22004-03-022-1/+162
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1574 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use BBSBASE for var.hin22004-02-241-4/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1562 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* compatible to gcc 2.95in22004-02-241-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1561 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add boardlist.allin22004-02-201-0/+25
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1553 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use DB_Filein22004-02-181-30/+53
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1542 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix conflict MAX_LINEin22004-02-142-6/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1540 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* bbsmail: reindent, ignore multipart mails, apply iconv to mail subject.in22004-02-142-53/+46
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1539 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove dir, no output for single filein22004-02-141-3/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1537 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add cleandir.plin22004-02-141-0/+47
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1536 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Change default permission of PttDigest.scw2004-02-121-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1533 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Define string macro GLOBAL_DIGEST in pttbbs.conf to set the digest board name.scw2004-02-121-1/+10
| | | | | | | Or undifine it to remove this feature. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1532 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* weather predict tomorrowvictor2004-02-122-18/+20
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1528 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug in revision 1507victor2004-02-091-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1515 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* for virus mailin22004-02-081-31/+19
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1511 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. delete invited user from invite list when exits.victor2004-02-041-1/+5
| | | | | | | 2. wrong flag, s/ROOMOPENTOPIC/ROOMHAND/ git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1507 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add some comments for ofo water mode.in22004-01-161-6/+6
| | | | | | | set nkwbd default to 5, 5 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1484 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* dont remove a non-exist board when logoutvictor2004-01-031-2/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1455 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Remove altering wbtime in nkwbd, avoiding race.scw2004-01-031-1/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1454 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* same as revision 1452victor2004-01-031-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1453 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* set default to 20, 20,in22004-01-031-9/+6
| | | | | | | | | remove debug message, show sleeptime, timeout on proctitle. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1450 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Adding setproctitle for NoKillWaterBalld in shmctl.scw2004-01-021-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1444 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning freein22004-01-011-58/+58
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1443 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* NOKILLWATERBALL done.in22004-01-011-0/+67
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1442 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* re-indent, getopt(), -h for help, and more flexible.in22003-12-151-66/+107
| | | | | | | | support SAFE_ARTICLE_DELETE (-D to delete deleted articles only) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1409 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix output alignment when #devices >= 10in22003-12-051-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1397 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix assess, it may be rewritenvictor2003-12-011-2/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1385 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge back from fav4 brachesvictor2003-11-221-13/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1356 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. fix invalid operationvictor2003-11-141-0/+4
| | | | | | | | 2. setuid first in util/cleanpasswd.c 3. add "people/per option" in the result of a vote git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1329 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix from addressin22003-11-131-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1327 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* typovictor2003-11-041-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1298 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* allow bm to decide whether to up-ten-bigvictor2003-11-042-2/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1296 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use MYHOSTNAMEin22003-11-041-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1294 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove debug messagein22003-11-041-1/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1293 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use bbs.h, add Message-IDin22003-11-041-18/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1292 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* complete assessvictor2003-10-271-7/+29
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1264 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* usermodein22003-10-231-0/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1261 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge hotboard into shmctlin22003-10-233-75/+65
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1260 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* ignore BRD_GROUPBOARDin22003-10-211-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1259 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use isvisiableboard()in22003-10-211-2/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1258 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add hotboardin22003-10-212-1/+67
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1257 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix makefilevictor2003-10-141-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1244 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* wrong filenamevictor2003-10-142-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1243 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix cleanshm, add to Makefile (but not in default entry)victor2003-10-142-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1242 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. add feature assessment of article and salevictor2003-10-141-0/+25
| | | | | | | 2. add file pttbbs/util/cleanshm.c to help clean unused var in PASSWD git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1241 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add mail headervictor2003-10-081-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1227 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reduce sort times in utmpsortdin22003-09-261-27/+44
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1199 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use 'mkdir -p'in22003-09-131-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1181 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* attach SHMvictor2003-09-021-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1151 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* for vary OSvictor2003-08-201-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1111 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix util merging errorvictor2003-08-182-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1107 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* uselessvictor2003-08-151-31/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1099 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge util_passwd.c to mbbsd/passwd.cvictor2003-08-151-142/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1098 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge util_record.c to mbbsd/record.cvictor2003-08-151-5/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1097 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge util_record.c to mbbsd/record.cvictor2003-08-1536-293/+47
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1096 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* clean the sourcevictor2003-08-152-90/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1095 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use NULL instead of (~ 0) in class linked-listin22003-08-123-11/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1092 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* replace FreeBSD macro with __FreeBSD__kcwu2003-08-101-3/+3
| | | | | | | | | replace Linux macro with __linux__ replace make with $(MAKE) OSTYPE in cmdline doesn't need anymore git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1091 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* ignore hidden boardsvictor2003-08-091-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1088 63ad8ddf-47c3-0310-b6dd-a9e9d9715204