summaryrefslogtreecommitdiffstats
path: root/mbbsd/cal.c
Commit message (Collapse)AuthorAgeFilesLines
* integrate two giving-money codevictor2005-08-121-13/+26
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3028 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* pretty formatvictor2005-08-111-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3024 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* large terminal rules.piaip2005-08-061-1/+1
| | | | | | | | | | | | | - 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
* various money related fixpiaip2005-08-061-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2993 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - multi-signature browsing modepiaip2005-07-031-3/+18
| | | | | | | - song order: quick abort git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2881 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Security Updatepiaip2005-07-031-0/+18
| | | | | | | | | | | | (1) **s (Ptt_prints): Only information can be queried by others will be revealed. i.e., **b(birthday), **u(utmp number) will be removed **m(money) will show level messages instead of real number (2) Reply will show as **X instead of converted message (3) Ansi (^V) mode in editor will display as **X. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2878 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-4/+4
| | | | | | | | | 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
* change the default number of buying mailbox to 1kcwu2005-04-211-3/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2705 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* less hard coded path/string.kcwu2005-03-191-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2634 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add 'const' qualifiers on function parameters.kcwu2005-03-191-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2632 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning: searchuser() getuser() API change, don't change query string ↵kcwu2005-03-151-1/+1
| | | | | | implicitly. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2627 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move global variable into local, 587 byteskcwu2005-03-121-3/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2607 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move global variable xuser into local, save 512 bytes.kcwu2005-03-121-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2596 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* explicitly tell C compiler functions have no parameterkcwu2005-03-121-6/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2592 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commitkcwu2005-02-281-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2560 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * use fnv hash function for all hash.kcwu2005-02-261-5/+8
| | | | | | | | | | | * 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
* fix the fault while buying ex-email.ptt2005-02-141-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2511 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* check if uid is in range in deumoney(). or damage SHM.in22005-02-121-1/+1
| | | | | | | | | this checking should be done in upper layer or users could not get the error messages. so mark as TODO. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2499 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* rewrite few lines.kcwu2005-02-121-1/+2
| | | | | | | comment on strange lines. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2496 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* replace rand() with random() for better randomnesskcwu2005-02-041-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2460 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use ctime4 for compat on x86_64wens2005-01-251-3/+3
| | | | 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-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2426 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* define IA32 for IA32 modein22005-01-241-1/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2425 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* jwretch asked to changeptt2004-11-271-5/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2356 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add description to invoiceptt2004-11-271-5/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2355 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* If pay under 100 there is no invoiceptt2004-11-271-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2354 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* typo. change '<' -> '<='ptt2004-11-031-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2309 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix the bug. buy -1 mail = buy 100 mailptt2004-11-031-3/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2308 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* enlarge the random rangevictor2004-09-301-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2214 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning freein22004-06-111-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2059 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
* show cpu usagein22004-06-081-1/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2053 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* SHM->GV2.e.dymaxactive instead GLOBALVAR[9]in22004-06-021-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2045 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use LCECHOin22004-05-301-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2031 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Anonymous money giving.scw2004-05-271-1/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2024 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* in log_file(), use LOG_VF if need to vfprintf().in22004-05-031-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1921 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change log_file()ptt2004-04-301-9/+7
| | | | | | | log_user() git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1889 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reoragnize functions ptt2004-04-241-47/+7
| | | | | | | | | mprints, pprints -> mouts remove useless refresh, pressanykey(), sleep,... git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1833 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revert cuser from pointer to buffer.ptt2004-04-211-23/+23
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1798 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* log user's formatptt2004-04-161-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1770 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge from outtacache branchin22004-04-041-1/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1689 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1651 ↵ptt2004-03-311-3/+3
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* refiningptt2004-03-311-1/+1
| | | | | | | | cuser & passwd_update git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1649 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add mmap to cuser get ride of passwd_updateptt2004-03-311-34/+29
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1640 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* simplfy append_recordptt2004-03-251-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1605 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning freein22004-01-081-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1472 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* M mbbsd/announce.cptt2003-12-291-81/+0
| | | | | | | | | | | | M mbbsd/bbs.c M mbbsd/read.c M mbbsd/cal.c M mbbsd/more.c M mbbsd/menu.c M mbbsd/board.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1438 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use open() instead of fopen() in log_file()in22003-12-071-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1405 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* code clean upkcwu2003-09-101-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1174 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* clean upkcwu2003-09-071-14/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1166 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* code cleanupkcwu2003-09-061-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1162 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move COMPILE_TIME from .mk to vers.cin22003-06-221-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@954 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* �R�t���H�c=>�����R100��in22003-04-281-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@812 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* show sbrk, idrss, isrssin22003-03-151-2/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@698 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* show if mbbsd is in CRITICAL_MEMORY modein22003-03-151-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@697 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * there are so many fopen() without fclose()kcwu2003-01-201-1/+2
| | | | | | | | * assert fopen() * clean up git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@638 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* if SYSOP, show memory usage in system statusin22003-01-161-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@609 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove unnecessary `static' keyword from some local variablekcwu2003-01-161-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@602 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* DYMAX_ACTIVEin22002-08-231-2/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@487 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* sprintf() -> snprintf()in22002-07-231-22/+31
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@435 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* indent -i4in22002-07-211-17/+17
| | | | | | | fix indent's word error git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@429 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* strcpy() -> strlcpy()in22002-07-211-9/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@428 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* indentin22002-07-061-214/+242
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@415 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* sysinfoin22002-07-051-15/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@414 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* only one shared memoryin22002-06-071-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@296 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* global variable move to var.cin22002-06-041-28/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@280 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***ptt2002-05-251-2/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@220 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* replace time(NULL) by nowptt2002-05-131-8/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@163 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***lwms2002-05-101-3/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@157 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***lwms2002-05-101-7/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@156 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***lwms2002-05-061-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@147 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***lwms2002-05-031-6/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@144 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***lwms2002-05-021-3/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@142 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***lwms2002-05-021-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@141 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***lwms2002-05-021-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@140 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***lwms2002-05-021-3/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@139 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change getdata() constant to sizeof()in22002-04-291-14/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@131 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Initial revisionin22002-03-071-0/+512
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1 63ad8ddf-47c3-0310-b6dd-a9e9d9715204