summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Gomoku playing screen changed. Money is no longer shown.scw2005-02-121-4/+37
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2494 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change ctime to ctime4wens2005-02-111-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2493 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix gomoku log problem.scw2005-02-111-1/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2492 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* When OLDRECOMMAND is defined, we don't have to care about BRD_NOBOO.scw2005-02-111-3/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2491 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make valgrind happykcwu2005-02-102-1/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2490 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* bug fix: correctly adjustline() on current line with big bufferkcwu2005-02-101-3/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2489 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge from branches/victor.editkcwu2005-02-104-720/+1184
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2488 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* slight changeskcwu2005-02-103-4/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2487 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
* Recommand code clean up and make length limit depend on ID length.scw2005-02-091-27/+28
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2485 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
* Fix generalnamecomplete segmentation fault.scw2005-02-081-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2478 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Using `&func_name' instead of direct `func_name' as function pointer.scw2005-02-081-9/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2477 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change broadcast default prompt from 'y' to 'n', patched by ledia.kcwu2005-02-081-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2476 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* bug fix: fix broadcast linklistkcwu2005-02-061-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2475 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* replace strstr_lower(), which cause buffer overflow with strcasestr()kcwu2005-02-064-12/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2474 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix another friend[] overflowing in OUTTACACHEin22005-02-061-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2473 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix friend[] overflowing when using utmpserver.in22005-02-062-1/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2472 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* logout_friend_online() fault tolerantkcwu2005-02-062-16/+25
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2471 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix r2468.scw2005-02-061-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2470 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
* * In generalnamecomplete(), complete as more as possible when space (' ')scw2005-02-058-106/+116
| | | | | | | | | | | | | | | is pressed. (As what <tab> does in most shell) * In all three completing functions (namecomplete, usercomplete and generalnamecomplete), return null string instead of partial matched name which makes users able to talk/annoy those they are not supposed to talk to (admins or cloaks). * Type of parameters of generalnamecomplete has typedefed and should be clearer. * New macro CompleteBoard and CompleteOnlineUser are defined since most of the usage of generalnamecomplete are the same. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2468 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Clean up unused code and commented code.scw2005-02-052-13/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2467 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
* comment on questionable commentkcwu2005-02-051-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2464 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove backup file...version control system rules!kcwu2005-02-051-363/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2463 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bad big5 character in commentkcwu2005-02-051-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2462 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-0417-25/+25
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2460 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* recount n_bottom for each board after reloadbcachein22005-02-041-0/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2459 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* for sysop to recover board.ptt2005-02-041-6/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2458 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* don't reset random seed for each game.kcwu2005-02-031-2/+2
| | | | | | | and don't use very bad random seed git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2457 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
* Fix dark screen problemptt2005-02-031-1/+1
| | | | | | | | Clear the screen only after he can post. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2455 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove hard coded "PttLaw"./ptt2005-02-031-6/+6
| | | | | | | use attribute bit instead. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2454 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix one char in displayingptt2005-02-031-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2453 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* guest can post for jdwreckptt2005-02-033-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2452 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Chess country plan showing problem. Display country plan onscw2005-02-022-2/+2
| | | | | | | query also when viewing elo grade. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2451 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
* Allowing reply inviting request.scw2005-01-302-3/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2449 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Missing commit.scw2005-01-301-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2448 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Do not overwrite chess_list when creating man files.scw2005-01-301-12/+20
| | | | | | | Using symbolic link instead of direct directory name. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2447 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix r2438 with TIMET64in22005-01-301-3/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2446 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove useless \nin22005-01-301-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2445 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove bad characters in title. some bbs site likein22005-01-301-1/+10
| | | | | | | | bbs.wretch.COM will send these kind articles. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2444 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* redraw help bar to avoid overrided by water ball.scw2005-01-291-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2443 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 bug for new userptt2005-01-291-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2441 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* uhash problem ptt2005-01-282-24/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2440 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
* add TIMET64 for both 4 or 8 bytes time_tin22005-01-275-12/+27
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2438 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix iconvwens2005-01-271-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2437 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
* for x86-64in22005-01-252-9/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2434 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Collect all the five chess log to a board if GLOBAL_FIVECHESS_LOGscw2005-01-253-26/+76
| | | | | | | 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-253-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2431 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use ctime4 for compat on x86_64wens2005-01-2515-34/+43
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2430 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix Cdate without newlinewens2005-01-251-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2429 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
* fix r2426in22005-01-251-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2427 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use time4_t(uint32_t) instead of time_t for x86-64 arch.in22005-01-2458-340/+305
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2426 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* define IA32 for IA32 modein22005-01-243-1/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2425 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix typescw2005-01-242-5/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2424 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix gomoku passing states.scw2005-01-231-6/+24
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2423 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Showing blank photo when either side has not joined chess country,scw2005-01-231-27/+30
| | | | | | | but showing original style when neither side has joined. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2422 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Showing picture on five chess match. (only when both sides participatedscw2005-01-231-24/+118
| | | | | | | chess country and have photos) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2421 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Allow user to modify their chess country self-description.scw2005-01-232-3/+74
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2420 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* damn, don't mess global and that unused parameter upvictor2005-01-221-4/+7
| | | | | | | | they'll be fixed properly in my svk branch (odd, svk pull cause the whole system hanging -_-) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2419 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Refactoring screen.c and adding function GetCurrentLine().scw2005-01-213-12/+41
| | | | | | | Adding redoscr() and use it in gomoku to reduce refresh size. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2418 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Chess country plan display error.scw2005-01-211-6/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2417 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug in revision 2413victor2005-01-201-17/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2416 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revert to 2410. wrong output when reposting.in22005-01-201-4/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2415 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* generic support for ssh hostname via SSH_CLIENT env (with support for ipv6 ↵wens2005-01-202-30/+15
| | | | | | | | | like IPs) fix shell mode proctitle git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2414 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* init uninitialize datavictor2005-01-201-16/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2413 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revert last commitwens2005-01-191-3/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2412 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* limitedit should be SYSOP onlywens2005-01-191-6/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2411 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commit errorvictor2005-01-191-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2410 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix missing initialization (default is insert mode)victor2005-01-194-11/+11
| | | | | | | fix possible error about anonymous mode git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2409 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* curr_buf is not available when cross posting.in22005-01-181-3/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2408 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* proper layout for long screenvictor2005-01-171-8/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2407 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
* fix last commit's bugvictor2005-01-171-16/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2405 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* clear bad 'withme' flagskcwu2005-01-171-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2404 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* don't use those useless data (I'll review edit.c later)victor2005-01-173-706/+722
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2403 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* load assessment data to shmvictor2005-01-161-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2402 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* edit.c: dont use such a lot of strlen()victor2005-01-152-21/+35
| | | | | | | mbbsd.c: update assess data before logout git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2401 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* specified alertvictor2005-01-151-4/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2400 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revertvictor2005-01-151-4/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2399 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* do fav_cleanup() after loading from .fav4victor2005-01-151-3/+4
| | | | | | | (to avoid mis-cleanup cause by corrupt brd) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2398 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove annoying bell().in22005-01-151-6/+2
| | | | | | | | suggested by ledia. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2397 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugin22005-01-141-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2396 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* getindex():in22005-01-141-20/+39
| | | | | | | | fix bug and re-indent. use linear search if binary search could not find the target. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2395 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Only sysop can set `chess country' and `restricted post.'scw2005-01-132-8/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2394 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* implement basic cp(1), fix "/bin/cp: Argument list too long."victor2005-01-123-3/+103
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2393 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* only SYSOPs can change post limitwens2005-01-091-9/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2392 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix previous commit.scw2005-01-091-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2391 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Wrong output for chess country query.scw2005-01-081-0/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2390 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Make BM be able to set whether everyone can postscw2005-01-075-4/+34
| | | | | | | or only board friend can. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2389 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add post limits for BM.wens2005-01-076-80/+145
| | | | | | | | 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
* warning freein22005-01-061-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2387 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* if SHM->Bbusystate is true in bcache_reload, wait at most 10 secsin22005-01-061-18/+18
| | | | | | | then ignore the lock and do bcache_reload. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2386 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
* set crosspost times as zero only when he change the board. ptt2004-12-211-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2384 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* cross post only happen on different boardsptt2004-12-211-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2383 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add function for BMs to choose default save methodwens2004-12-202-2/+31
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2382 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Adding commonts for upper bound of lists and enlargingscw2004-12-191-8/+8
| | | | | | | water list size. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2381 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* It should be a function call ...victor2004-12-171-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2380 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* cdoc finishedvictor2004-12-1710-119/+317
| | | | | | | | comments for brc.c, fav.c do not allow a board to be added twice in fav git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2379 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug in deleting blogin22004-12-161-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2378 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* shouldn't add 1 for this indexvictor2004-12-131-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2377 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix sorting problemvictor2004-12-132-12/+21
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2376 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* please use proper indent ...victor2004-12-121-4/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2375 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge ptt.linux againwens2004-12-118-164/+197
| | | | | | | | | | | 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
* fucking compile errorvictor2004-12-091-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2373 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* discard r2368 due to compilation failurein22004-12-068-187/+154
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2371 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* lightweight sysop broadcastin22004-12-061-5/+19
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2370 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix title lengthwens2004-12-051-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2369 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge ptt.linuxwens2004-12-058-154/+187
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2368 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* for stable branchin22004-12-051-21/+39
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2365 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add board to title for deleted articles as in ALLPOSTwens2004-12-031-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2364 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* changed money in fileheader_t into unionwens2004-12-037-36/+78
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2363 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* paint original colorvictor2004-12-022-9/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2361 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* some help pages are showed from filevictor2004-12-0215-85/+116
| | | | | | | | 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
* Move cursor to newly added board.scw2004-11-301-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2359 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
* * Use testing and setting macros instead of accessing yank_flagscw2004-11-292-27/+75
| | | | | | | | | directly in board.c * Add 'a' and 'i' to add favorite directly in favorite mode. * Remove duplicated `const' qualifier. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2357 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
* speed up and fix some bugvictor2004-11-251-11/+35
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2353 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix scope error for gcc 4.0in22004-11-242-6/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2352 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* corrected comment and bitmaskwens2004-11-231-6/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2351 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* wrong data type ><victor2004-11-222-6/+11
| | | | | | | wrong action in if block @@ git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2350 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change utf8 comment to big5kcwu2004-11-222-14/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2349 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix assess bugvictor2004-11-227-13/+112
| | | | | | | some comments git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2348 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
* fix 2341, compilation errorin22004-11-211-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2345 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add "cdoc" (just like javadoc) to grab prototype and comments of functionsvictor2004-11-203-1/+114
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2344 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* added forgotten check XDwens2004-11-201-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2343 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* added vote board limits for BM using key 'C'wens2004-11-204-2/+72
| | | | | | | fixed no mail alert when replying to board and mail git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2342 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix race of assessionvictor2004-11-202-10/+15
| | | | | | | note that SHM_t was modified git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2341 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* When searching first article with same subject, stop only after 200 mismatchkcwu2004-11-181-1/+3
| | | | | | | (reset counter every time) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2340 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* moved cancel bid earlierwens2004-11-181-2/+17
| | | | | | | added ability for seller to end bidding early git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2339 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove unneseccery barrier of poll closingvictor2004-11-184-21/+28
| | | | | | | | remove convertion from old style filename of vote system FIXME comment in assess git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2338 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix r2315in22004-11-181-25/+21
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2337 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix file_delete_lineptt.linux@2330ptt2004-11-173-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2330 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* someone forget commit the change of header files.ptt2004-11-171-1/+1
| | | | | | | int file_delete_line(char *file, char *string, char case_sensitive); git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2329 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* case sensitive/insenstive option for file_delete_line, and fix friend ↵victor2004-11-171-3/+6
| | | | | | deletion at the same time git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2328 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commit's faultvictor2004-11-161-6/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2327 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commit's faultvictor2004-11-161-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2326 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix redraw problem when calling thread()victor2004-11-161-13/+14
| | | | | | | thanks ledia.bbs@ptt2 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2325 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix a null pointer handling bugin22004-11-151-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2324 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* user has the most priority .....victor2004-11-121-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2323 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* try to fix strange behavior of bvotevictor2004-11-113-23/+13
| | | | | | | | check tmpfile size before save fav4 comment for DDOS git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2322 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add modifier "const" to some constantvictor2004-11-094-12/+18
| | | | | | | | 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
* move two static struct termios tty_state, tty_new to local, they're not usedvictor2004-11-081-4/+2
| | | | | | | | in other place. remove unused global variable of 32 bytes @_@ git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2320 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* comment todokcwu2004-11-062-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2319 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug: missing string terminate charkcwu2004-11-061-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2318 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix pointer crash bug due to my last modifykcwu2004-11-061-12/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2317 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* To avoid huge load, sleep 0.1s after each card game, chichken, gamble ↵kcwu2004-11-062-0/+2
| | | | | | transaction git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2316 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* rewrite Makefile for using pttbbs.mk and clean a lot ofin22004-11-061-199/+52
| | | | | | | | | unnecessary part. due to apply '-Wall', making innbbsd will show many and many warning. just ignore it. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2315 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Backup screen without hole. Save 8~11kb for normal user.kcwu2004-11-068-24/+66
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2314 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* set socket send buf to 4kbkcwu2004-11-061-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2313 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* import NoCeM into innbbsd/.in22004-11-0511-13/+726
| | | | | | | | see http://nocem-innbbsd.sourceforge.net/ for details. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2312 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* chinese typo ><ptt2004-11-041-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2311 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* show warning when passwd errorptt2004-11-041-6/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2310 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
* switch the words of gold/silver coinptt2004-11-031-11/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2307 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Merge different version of "personal abstract" from SOB user.ptt2004-11-031-1/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2306 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change the words "personal abstract" for SOB's usersptt2004-11-031-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2305 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* comment the dirty usagekcwu2004-11-011-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2304 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use memmove instead of memcpy if overlappingkcwu2004-11-011-2/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2303 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bvote problemvictor2004-11-012-261/+193
| | | | | | | | use filename0 instead of filename (use hardlink to avoid race, it'll be removed later) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2302 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* treat lose and decrease chess rating if disconnectedkcwu2004-10-312-2/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2301 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* show 6 card when playing blackjackkcwu2004-10-311-16/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2300 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
* why variable "path" is 'static' on solaris swapused()kcwu2004-10-311-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2298 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* rename global variable "line" to avoid conflict with local'skcwu2004-10-311-13/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2297 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* eliminate 132 bytes global arraykcwu2004-10-311-12/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2296 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* eliminate 361byte global arraykcwu2004-10-311-22/+23
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2295 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* eliminate 2kb global arraykcwu2004-10-311-88/+113
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2294 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* eliminate 4kb global arraykcwu2004-10-311-29/+31
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2293 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add TODO for user list speed upkcwu2004-10-311-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2292 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* FreeBSD -L/usr/local/libkcwu2004-10-311-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2291 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* always respect to BBSHOMEkcwu2004-10-313-5/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2290 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change/fix the rule of blackjackkcwu2004-10-311-39/+55
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2289 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* show register-notice for users who have permission PERM_ACCOUNTSvictor2004-10-301-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2288 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Test importing SOB account.ptt2004-10-301-1/+1
| | | | | | | Set this menu only for PERM_SYSOP|PERM_LOGUSER git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2287 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix of typo ptt2004-10-301-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2286 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* feature for SOB users to import accountptt2004-10-304-169/+86
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2285 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix comment typokcwu2004-10-281-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2284 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
* racevictor2004-10-272-15/+25
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2282 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* modify merge bbs for SOB's boardsptt2004-10-264-12/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2281 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
* add fixme commentkcwu2004-10-251-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2278 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
* fix chess piece name (wrong side)kcwu2004-10-241-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2276 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* init userec_t versionvictor2004-10-243-1/+4
| | | | 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-234-5/+158
| | | | | | | | | 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
* fix card_jack crashkcwu2004-10-211-2/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2272 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1.fix infinite loopvictor2004-10-211-3/+6
| | | | | | | | | 斷線->abort_bbs()->丟好友下站水球->好友已下站(why?) ->顯示好友已下站"請按任意鍵繼續"->getch->發現斷線->abort_bbs() 2.use searched result in do_aloha instead of searching again in my_write() git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2271 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
* unsetenv before daemon forkkcwu2004-10-201-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2269 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix move step linekcwu2004-10-191-57/+111
| | | | | | | | | step line display front or back piece only except pawn show red vs black fix log win/lose git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2268 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* install sample chess poemkcwu2004-10-192-1/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2267 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
* give permission "review new register" for PERM_ACCOUNTSptt2004-10-181-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2264 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* rename global static variable "fp" to "chessfp"kcwu2004-10-181-9/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2263 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* strip none-big5 string in user's mindkcwu2004-10-181-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2262 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
* wrong default checkingvictor2004-10-171-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2260 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change the threshold of determining robot posting.ptt2004-10-171-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2258 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* strip none-big5 char in user's nickkcwu2004-10-163-10/+27
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2257 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commitkcwu2004-10-161-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2256 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* trip IAC char in user's nickkcwu2004-10-161-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2255 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* strip IAC char in user's nickkcwu2004-10-162-0/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2254 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix comment with non-big5 charkcwu2004-10-161-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2253 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* show chess rating not only in debug modekcwu2004-10-163-19/+103
| | | | | | | let user set his attitude about talk/play with others git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2252 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* don't need to log fileptt2004-10-141-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2251 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* When find roboti posting,ptt2004-10-141-1/+5
| | | | | | | | don't force leaving bbs but set the money of the post to be 0. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2250 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* missing fav_removevictor2004-10-131-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2249 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. Anonymous post can be delete by posterptt2004-10-131-12/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2248 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. remove do_unanonymous_post function. It is almost the same as do_crosspost.ptt2004-10-132-5/+5
| | | | | | | | | | | And it didn't touch the btotal. 2. Change setbtotal to touchbtotal at do_crosspost. Because this boards are not popular. To count .DIR every time is needless. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2247 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* there was no touchbtotal at syspost. added it.ptt2004-10-131-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2246 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1. Add reason on post title at voilationLaw.ptt2004-10-132-4/+4
| | | | | | | 2. Move down the threshold of determining robot posting. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2245 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* refactoringvictor2004-10-121-20/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2244 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add __attribute__((__noreturn__)) for the abort functions.scw2004-10-122-1/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2243 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix memory leakvictor2004-10-121-14/+17
| | | | | | | solve problem when moving tagged folders git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2242 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add +/- support when reading article, thanks wensvictor2004-10-121-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2241 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revise to proper buffer lenvictor2004-10-102-14/+37
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2240 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix error in su commandin22004-10-091-3/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2237 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
* correct comment typokcwu2004-10-091-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2235 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* same problemvictor2004-10-091-11/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2234 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* wrong size of ident -_- it may cause malfunction of uflag2victor2004-10-091-5/+5
| | | | | | | e.g. strange subscribtion of favorite git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2233 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* display one more digit of game recordkcwu2004-10-091-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2232 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
* also update rating in ramkcwu2004-10-081-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2230 63ad8ddf-47c3-0310-b6dd-a9e9d9715204