summaryrefslogtreecommitdiffstats
path: root/mbbsd/gamble.c
Commit message (Collapse)AuthorAgeFilesLines
* fix scope error for gcc 4.0in22004-11-241-2/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2352 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* racevictor2004-10-271-14/+24
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2282 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* return money if one didn't catch on the gamblevictor2004-10-241-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2277 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* logvictor2004-10-041-5/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2222 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* create the file if not existvictor2004-10-021-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2218 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* wrong fopen modevictor2004-10-011-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2217 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* solved a frequent racevictor2004-10-011-3/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2216 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* replace some prints() with outs(),kcwu2004-06-101-7/+7
| | | | | | | | | | | | 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
* reoragnize functions ptt2004-04-241-3/+1
| | | | | | | | | 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-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1798 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add mmap to cuser get ride of passwd_updateptt2004-03-311-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1640 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* if the gamble is stopped, dont joinvictor2004-02-121-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1527 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Rewrite strip_ansi() (also move from vote.c to io.c).scw2003-12-241-1/+1
| | | | | | | | Using STRIP_ALL instead of 0 when calling strip_ansi. Fix some buffer overflow problem. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1428 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1314 ↵ptt2003-11-111-0/+4
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* buffer sizekcwu2003-11-011-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1283 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* clean upkcwu2003-09-071-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1166 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* prevent opening file errorvictor2003-08-201-5/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1112 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* wrong output of the resultvictor2003-08-081-3/+3
| | | | | | | thanks scwg.bbs@ptt2.cc git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1087 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix strange syntaxkcwu2003-06-281-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@981 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***ptt2003-05-261-7/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@907 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* ���L�����o��in22003-04-271-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@810 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * there are so many fopen() without fclose()kcwu2003-01-201-2/+2
| | | | | | | | * assert fopen() * clean up git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@638 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move global array into local.kcwu2003-01-161-5/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@611 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move post_msg() and post_file() from gamble.c to syspost.ckcwu2003-01-161-55/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@608 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use gcc's extension to check format stringkcwu2002-12-261-6/+5
| | | | | | | and make compiler happier git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@588 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* sprintf() -> snprintf()in22002-07-231-16/+19
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@435 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* indent -i4in22002-07-211-12/+12
| | | | | | | 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-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@428 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* indentin22002-07-061-298/+288
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@415 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* setcpulimit for gambleptt2002-06-291-1/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@374 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* setproctitle("open ticket");ptt2002-06-261-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@356 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* stupid bug aboutptt2002-06-231-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@346 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* little bugptt2002-06-231-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@345 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* oauto expire gambleptt2002-06-231-3/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@340 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* gamble lockptt2002-06-231-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@339 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change record stampfile functionptt2002-06-231-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@336 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* optt2002-06-221-3/+6
| | | | | | | fix openticket tick; git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@332 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***lwms2002-06-191-8/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@330 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***ptt2002-06-121-3/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@319 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***ptt2002-06-081-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@313 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***ptt2002-06-081-3/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@312 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***ptt2002-06-081-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@311 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***ptt2002-06-081-15/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@310 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***ptt2002-06-081-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@309 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add revoke gambleptt2002-06-081-20/+43
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@308 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***ptt2002-06-081-3/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@307 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***ptt2002-06-081-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@306 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add logptt2002-06-081-9/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@305 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* gamle and talk bug fixptt2002-06-081-3/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@304 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* global variable move to var.cin22002-06-041-17/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@280 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* replace time(NULL) by nowptt2002-05-131-3/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@163 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* boards/<hash>/<brdname>in22002-03-101-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@15 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Initial revisionin22002-03-071-0/+361
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1 63ad8ddf-47c3-0310-b6dd-a9e9d9715204