summaryrefslogtreecommitdiffstats
path: root/mbbsd/stuff.c
Commit message (Collapse)AuthorAgeFilesLines
* - (internal) enable building utmpserverpiaip2008-03-311-41/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4053 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) move UTIL_C API from mbbsd/stuff to cmbbs.piaip2008-03-271-100/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4031 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change show_file parameter to assign striping options in a better way.piaip2008-03-121-7/+17
| | | | | | | - also prevents ESC* style escapes in user_play_query, for security reason. (Thanks to Kinra's report on PttSuggest) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3996 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pmore/mail/modes: enable 'y' for multi-reply in mail reading, and fix ↵piaip2008-03-121-5/+17
| | | | | | | | | | non-update screen after 'X' in mail. crypt: add comments stuff: prepare to show PttPrints status git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3994 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - menu: pad title length to align most fields againpiaip2008-02-091-1/+1
| | | | | | | - stuff: fix angel pause prompt message git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3906 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix AID search for blackholed boards.mhsin2008-01-251-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3865 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - stuff: fix show_file auto wrapped for file with length=80piaip2008-01-221-0/+3
| | | | | | | | - announce: change announce re-edit to work like board re-editing post - use same file. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3853 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - general fix of some messagespiaip2008-01-021-0/+1
| | | | | | | | - improve Makefile more - prevent broken Welcome git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3776 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - pfterm: maximize reset() to be friendly to non-default fg terminalspiaip2007-12-291-3/+3
| | | | | | | - stuff: remove unknown ANSI git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3761 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change screen APIs to ncurses-like namespiaip2007-12-211-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3717 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - disable ^T over pause - modern terms already can do so. piaip2007-12-211-39/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3715 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - better range checking on time_4tpiaip2007-12-191-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3709 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix 32/64-bit problem.mhsin2007-12-181-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3706 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Revert r3704 and add saturation check for gettime().mhsin2007-12-181-8/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3705 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix signed time4_t limitationpiaip2007-12-181-1/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3704 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * Enhanced AID query UI.mhsin2007-12-171-16/+17
| | | | | | | * Use aidu_t(uint64_t) for AIDus. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3703 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * Add Article IDentification System(AIDS)mhsin2007-12-171-0/+154
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3700 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - general message update and optimizationpiaip2007-12-171-38/+8
| | | | | | | - change search_num() to getdata(), allow unified control git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3698 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - unify processing clock variable 'now'piaip2007-12-151-0/+11
| | | | | | | - pmore: support time refresh git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3683 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * extract common functions as library.kcwu2007-12-121-445/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3673 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - change hard coded .DIR to macro definitionspiaip2007-12-111-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3667 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - search: must update SR name to match new DBCS aware searchpiaip2007-12-111-0/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3663 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* getans: reduce buffer to reflect its naturepiaip2007-12-051-1/+1
| | | | | | | editpost: better hints for user to understand our recovery feature git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3635 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix comment typokcwu2007-06-191-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3547 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Ptt_prints prototype changed, length of input string should be givenvictor2006-12-261-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3459 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* should be big enough now...victor2006-11-201-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3448 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* uninitialized value...wens2006-08-311-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3404 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reject bad ips, including tor and bbsnetin22006-06-181-0/+21
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3373 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1.remove str_checksum() (use StringHash() now)in22006-06-161-11/+0
| | | | | | | 2.prevent cross posting from mail git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3371 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add a lot of assertions to ensure bid is in correct range when access via bid.kcwu2006-04-081-0/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3341 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* verify userid when sethome path.kcwu2006-03-271-1/+25
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3308 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove things about ident which is useless nowvictor2005-09-261-13/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3212 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* name complete enhancedpiaip2005-09-081-5/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3140 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* set*() family functions all assume buffer size = PATHLEN, to prevent buffer ↵kcwu2005-08-231-20/+21
| | | | | | | | | overflow. do some s/256/PATHLEN/. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3074 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix non-big5 typo in r3012piaip2005-08-091-2/+2
| | | | | | | and make locking more solid git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3013 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* large terminal rules.piaip2005-08-061-37/+81
| | | | | | | | | | | | | - vmsg with formats is now vmsgf. - deprecates vmsg_lines = i hope changes in admin does not make trouble because the old way looks like a mess within my terminal. - pending issue: = pressanykey_or_callangel is in oldway = showtitle, msg_seperator, and others should also be fixed git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2995 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make compiler happypiaip2005-08-051-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2985 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning free, make gcc 4.0 happyvictor2005-07-071-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2916 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* better readability.in22005-06-141-2/+2
| | | | | | | | | real => adminmode, HAS_PERM() => HasUserPerm(), HasPerm() => HasBoardPerm(). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2840 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* New style to specify ANSI escape commands.piaip2005-06-081-10/+10
| | | | | | | | | First introduced by pmore, but this hard work (to transform all files to new style) is made by Rong-en Fan (rafan). Thanks! git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2796 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add 'const' qualifiers on function parameters.kcwu2005-03-191-45/+46
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2632 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move 232 bytes from data section to rodata sectionkcwu2005-03-121-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2600 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* explicitly tell C compiler functions have no parameterkcwu2005-03-121-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2592 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugs in revision 2570victor2005-03-031-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2572 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* dietlibc friendlywens2005-03-031-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2570 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning free: "static" should be in front of "const"kcwu2005-03-031-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2569 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* able to choose ip to bindwens2005-03-021-2/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2568 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* bug fix: fix the potential of char overflowkcwu2005-02-281-4/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2563 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * use fnv hash function for all hash.kcwu2005-02-261-6/+2
| | | | | | | | | | | * 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
* add dietlibc support, reduced 16kb memory usage on linux x86_64.kcwu2005-02-241-7/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2534 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add mallopt optionvictor2005-02-201-9/+8
| | | | | | | reduce two static array git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2524 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* replace strstr_lower(), which cause buffer overflow with strcasestr()kcwu2005-02-061-9/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2474 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add TIMET64 for both 4 or 8 bytes time_tin22005-01-271-8/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2438 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use ctime4 for compat on x86_64wens2005-01-251-0/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2430 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use time4_t(uint32_t) instead of time_t for x86-64 arch.in22005-01-241-10/+31
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2426 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* implement basic cp(1), fix "/bin/cp: Argument list too long."victor2005-01-121-0/+101
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2393 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* some help pages are showed from filevictor2004-12-021-0/+24
| | | | | | | | more comments remove dirty hack in fav.c since it's safe now git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2360 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix assess bugvictor2004-11-221-1/+46
| | | | | | | some comments git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2348 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add modifier "const" to some constantvictor2004-11-091-4/+4
| | | | | | | | remove a static char array of 60 bytes from mail.c:doforward avoid DDOS in mail.c:send_inner_mail git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2321 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revise to proper buffer lenvictor2004-10-101-0/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2240 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug: when deleting an user, the aloha record won't be deleted.victor2004-09-201-15/+1
| | | | | | | add file: file.c, move some useful subroutine out of friend.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2205 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Check angel permission before starting conversation.scw2004-09-161-1/+2
| | | | | | | | Adding MAP_PRIVATE flag when getting MAP_ANON from mmap(). (on Linux, without this flag causes EINVAL) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2197 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* domain_name_query is changed to cidr formatvictor2004-09-031-0/+20
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2176 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add 'const' qualifiers on functions in stuff.c.scw2004-08-291-12/+12
| | | | | | | Also fix changing of prototypes in r2174. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2173 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Chess country basic things constructing.scw2004-08-121-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2162 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* sallkoy's color for pressanykey and push bottomptt2004-08-101-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2161 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use correct type: size_t/int/long/pointerin22004-07-301-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2153 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use int instead of longin22004-07-301-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2151 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Put an ascii charactor before curses to avoid some clientscw2004-07-181-4/+4
| | | | | | | send two 'left' when user actually pressed only one. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2142 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove high light at pressanykeyptt2004-07-131-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2136 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change the color of pressanykeyptt2004-07-131-5/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2135 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge back from victor.screen branchvictor2004-06-121-5/+5
| | | | | | | remove showansi option git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2060 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* replace some prints() with outs(),kcwu2004-06-101-1/+1
| | | | | | | | | | | | replace some outs() with outc(), replace some fprintf() with fputs(), and so on. for performance. and don't treat user input as format string. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2055 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use 'const' keyword to reduce 7904 bytes data segmentkcwu2004-06-041-1/+1
| | | | | | | from 9320 to 1416 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2049 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove prototypes of not exist functionskcwu2004-06-041-0/+17
| | | | | | | use static keyword for local function git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2048 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Only registered user can call angel.scw2004-05-251-3/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2020 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Merge from scw.angel.scw2004-05-241-4/+36
| | | | | | | | *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 MODE_ETC useless functionptt2004-05-121-1/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1960 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* in log_file(), use LOG_VF if need to vfprintf().in22004-05-031-10/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1921 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change log_file()ptt2004-04-301-7/+32
| | | | | | | log_user() git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1889 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix some stuff for getkeyptt2004-04-291-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1885 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* getans -> getdataptt2004-04-291-0/+11
| | | | | | | | getkey -> vmsg_lines git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1884 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use old getans()in22004-04-281-13/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1882 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* buf overflow of vmsgptt2004-04-271-5/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1872 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* enlarge getansPtt.read@1861ptt2004-04-251-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1856 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* discard r1854,in22004-04-251-4/+3
| | | | | | | | | dirty hack to ignore "\0" in vmsg_lines() (but igetch() should NOT return "\0") git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1855 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* r1851 dirty fixed vmsg_lines(), but broke getans()in22004-04-251-2/+3
| | | | | | | | | this patch dirty fixes getans() and sould be discarded after fix dogetch(). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1854 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* r1850 igetch() in vmsg_lines() doesn't work :(in22004-04-251-4/+4
| | | | | | | dirty hack here git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1851 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning freein22004-04-251-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1850 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 2 bugs fixedptt2004-04-241-1/+1
| | | | | | | | 1. vmsg 2. read git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1846 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* modify a little for vmsgptt2004-04-241-4/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1837 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* integrate igetkey igetch egetchptt2004-04-241-8/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1828 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove useless functionsptt2004-04-231-37/+34
| | | | | | | integrate similiar functions git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1827 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revert cuser from pointer to buffer.ptt2004-04-211-27/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1798 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge from outtacache branchin22004-04-041-0/+69
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1689 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add mmap to cuser get ride of passwd_updateptt2004-03-311-3/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1640 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* set file mode to 0664 when O_CREAT in log_file()in22003-12-161-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1412 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use open() instead of fopen() in log_file()in22003-12-071-11/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1405 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1333 ↵ptt2003-11-151-0/+6
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use bsearch in login_friend_online()in22003-10-051-0/+25
| | | | | | | | | | save cpu but increase SHM_t (sizeof(short) * MAX_ACTIVE) bytes WARNING: SHM_t has been changed git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1212 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1195 ↵(no author)2003-09-221-5/+8
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* code cleanupkcwu2003-09-061-3/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1162 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge from MergeCachein22003-07-201-3/+20
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1065 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* assert() the return value of strchr() strrchr()kcwu2003-06-281-1/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@982 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* CRITICAL_MEMORYin22003-03-261-1/+26
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@712 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove unnecessary `static' keyword from some local variablekcwu2003-01-161-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@602 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* sprintf() -> snprintf()in22002-07-231-6/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@435 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* indent -i4in22002-07-211-44/+44
| | | | | | | fix indent's word error git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@429 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* indentin22002-07-061-229/+320
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@415 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* bug of gettime:ptt2002-06-291-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@382 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* auto expire gambleptt2002-06-231-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@342 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* oauto expire gambleptt2002-06-231-1/+24
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@340 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* global variable move to var.cin22002-06-041-26/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@280 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* boards/<hash>/<brdname>in22002-03-101-6/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@15 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Initial revisionin22002-03-071-0/+524
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1 63ad8ddf-47c3-0310-b6dd-a9e9d9715204