summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* comment on bad codekcwu2005-03-191-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2639 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
* refactor post articlekcwu2005-03-192-82/+36
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2637 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2636 ↵kcwu2005-03-190-0/+0
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2635 ↵kcwu2005-03-190-0/+0
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* less hard coded path/string.kcwu2005-03-1910-24/+26
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2634 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add 'const' qualifiers on function parameters.kcwu2005-03-192-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2633 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add 'const' qualifiers on function parameters.kcwu2005-03-1947-496/+500
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2632 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* don't display board users on userlist in case of cooldownwens2005-03-191-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2631 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove display of board users when cool downptt2005-03-191-2/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2630 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug for r2580in22005-03-162-18/+22
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2629 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-1523-53/+53
| | | | | | implicitly. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2627 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* user defined show 壽星 or notin22005-03-152-23/+31
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2626 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Change the display of L+M. It become '!' ptt2005-03-151-1/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2625 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug of reading buffervictor2005-03-142-4/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2624 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove 壽星 (prevent violating 個人資料保護法)in22005-03-143-4/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2623 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-142-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2620 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* only articles with S and M flags could not be pushed.in22005-03-141-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2619 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix r2613in22005-03-132-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2618 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2617 ↵kcwu2005-03-130-0/+0
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2616 ↵kcwu2005-03-130-0/+0
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug: if user disconnected during login, goodpost will be reseted to 0.kcwu2005-03-131-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2615 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
* use Copy() instead Link() for most casesin22005-03-133-45/+24
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2613 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix dark screen bugptt2005-03-131-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2612 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* solved what DonaldLam said about allpost problemptt2005-03-131-29/+28
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2611 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* ld --sort-common, reduce bss section align overhead about 300~400 byteskcwu2005-03-121-0/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2610 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove unused global variableskcwu2005-03-121-4/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2609 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* forget commit this filekcwu2005-03-121-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2608 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move global variable into local, 587 byteskcwu2005-03-126-51/+65
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2607 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move global variable into localkcwu2005-03-121-10/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2606 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* chicken aging problem: don't use other's age in calculationkcwu2005-03-121-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2605 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* r2623@m722: kcwu | 2005-03-12 20:21:28 +0800kcwu2005-03-121-5/+13
| | | | | | | split long lines git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2604 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* r2622@m722: kcwu | 2005-03-12 20:11:10 +0800kcwu2005-03-121-136/+145
| | | | | | | move global variables into local, 282 bytes git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2603 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move global variable into localkcwu2005-03-121-195/+219
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2602 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move 76 bytes global variable into localkcwu2005-03-121-161/+157
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2601 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move 232 bytes from data section to rodata sectionkcwu2005-03-128-43/+43
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2600 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix XXXin22005-03-121-6/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2599 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add comment about WYchuang@ptt's suggestionkcwu2005-03-121-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2598 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove "proverb" function, which doesn't work for a long timekcwu2005-03-125-44/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2597 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move global variable xuser into local, save 512 bytes.kcwu2005-03-1224-62/+77
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2596 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move global variable into local, save another 414 byteskcwu2005-03-121-137/+141
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2595 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* makefile cleanupkcwu2005-03-122-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2594 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* makefile clean upkcwu2005-03-125-28/+22
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2593 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* explicitly tell C compiler functions have no parameterkcwu2005-03-1238-212/+217
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2592 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* move global variable to local, save another 536 byteskcwu2005-03-124-44/+60
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2591 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* symlink(src, dst) instead of symlink(dst, src)in22005-03-121-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2590 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bad codekcwu2005-03-102-3/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2589 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* r2586@m722: kcwu | 2005-03-10 18:01:58 +0800kcwu2005-03-101-1/+3
| | | | | | | don't forget to fclose() git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2588 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugwens2005-03-101-6/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2587 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
* No talk/chess request allowed when watching Chinese chess.scw2005-03-091-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2585 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* bid 1 for rootin22005-03-091-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2584 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix alignment and permission problems when USE_HUGETLB.in22005-03-095-25/+36
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2583 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add "cool down" feature for boards.wens2005-03-099-17/+145
| | | | 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-085-4/+27
| | | | | | | 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-085-83/+20
| | | | 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
* fix bugwens2005-03-062-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2578 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* don't delete password trial by default.kcwu2005-03-061-1/+1
| | | | | | | suggest by dale@ptt, patch by ledia@ptt2. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2577 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use domain_name_query.cidr instead domain_name_queryin22005-03-051-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2576 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commitwens2005-03-032-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2575 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Post limits do not apply to BMs and SYSOPswens2005-03-032-8/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2574 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add regtime to post & vote limitswens2005-03-035-20/+50
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2573 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
* show a message for hidden password inputin22005-03-031-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2571 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-039-25/+25
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2569 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* able to choose ip to bindwens2005-03-023-7/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2568 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* typokcwu2005-03-011-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2567 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
* fix message typokcwu2005-02-281-4/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2565 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add code question commentkcwu2005-02-281-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2564 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
* reduce system callkcwu2005-02-281-13/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2562 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* MALLOC & FREE should be pairedkcwu2005-02-281-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2561 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
* 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 illegal top_of_win, and add comment on oldcurrlinevictor2005-02-271-1/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2558 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix mem leakvictor2005-02-271-30/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2557 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Reenable Chinese chess watching.scw2005-02-262-17/+32
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2556 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
* reduce number of system callkcwu2005-02-261-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2554 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reduce some hundred of system call for each logoutkcwu2005-02-261-14/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2553 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
* don't use too much memory for hash slotkcwu2005-02-261-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2551 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix HASH_BITS checking condition.kcwu2005-02-263-7/+9
| | | | | | | suggest to use bigger value if MAX_USERS is quite large. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2550 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * use fnv hash function for all hash.kcwu2005-02-2611-144/+133
| | | | | | | | | | | * 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 bug of buffer pastingvictor2005-02-251-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2548 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add comment for bid_t and userec_twens2005-02-251-57/+58
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2547 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix 'internal error' when deleting articles from other sites.in22005-02-251-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2546 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* defer fav_load() to choose_board() if the user didn't subscribe new boards.kcwu2005-02-251-4/+6
| | | | | | | don't know it will save memory or not. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2545 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* import FNV hash function.kcwu2005-02-253-20/+151
| | | | | | | rewrite getkeep() for memory saving git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2544 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* system() should not be therevictor2005-02-251-1/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2543 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* missing commit for 2541in22005-02-253-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2542 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add Account Registration (PERM_REG) for registration.in22005-02-254-11/+15
| | | | | | | remove PERM_SMG. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2541 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* dynamic allocate TagList[], save 2kb memory.kcwu2005-02-252-8/+9
| | | | | | | (only 0.2% online users use it) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2540 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
* use only single malloc in initsetproctitle()kcwu2005-02-251-3/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2538 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* only users with PERM_LOGINOK instead of PERM_BASIC couldin22005-02-242-2/+2
| | | | | | | mail or forward articles. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2537 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning freekcwu2005-02-241-2/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2536 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix dietlibc supportkcwu2005-02-243-3/+19
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2535 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add dietlibc support, reduced 16kb memory usage on linux x86_64.kcwu2005-02-247-13/+751
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2534 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* don't link -lcrypt anymorekcwu2005-02-241-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2533 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
* pset svn:keywords idkcwu2005-02-240-0/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2531 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use libdes crypt() to save lots of memory, more than 100kb!kcwu2005-02-242-2/+45
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2530 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* import crypt.c taken from ssh 1.2.33kcwu2005-02-241-0/+604
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2529 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* avoid use math library (-lm).kcwu2005-02-243-5/+132
| | | | | | | sanity check for result of elo rating git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2528 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* log outcome of chess playingkcwu2005-02-241-0/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2527 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
* add mallopt optionvictor2005-02-202-13/+36
| | | | | | | reduce two static array git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2524 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* s/#ifdef/#if/victor2005-02-192-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2523 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* define FOREIGN_REG to allow foreigner's registrationvictor2005-02-192-4/+8
| | | | | | | define FOREIGN_REG_DAY to limit their deadline to get the right of stay git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2522 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* in CRITICAL_MEMORY, alloc water[] when it's needed.in22005-02-192-2/+16
| | | | | | | save many memory for most users. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2521 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
* background load bottom after sort_bcache() or damage whole system,in22005-02-181-6/+14
| | | | | | | especially sites with large number of boards or slow hdds. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2519 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* showplans() does not always called after getuser() so that it shouldscw2005-02-181-0/+3
| | | | | | | update xuser itself. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2518 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix domenu's bugvictor2005-02-182-8/+20
| | | | | | | limit some function to permission PERM_LOGINOK git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2517 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix broadcast conditionkcwu2005-02-181-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2516 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* missing #ifdef/endif pairvictor2005-02-162-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2515 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix KEY_END's bug in ansimodevictor2005-02-161-7/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2514 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix block cutting's problem (free an freed pointer, oldcurrline)victor2005-02-161-11/+24
| | | | | | | remove never used code git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2513 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix setperm's bug, check NULL condition first in set_attrvictor2005-02-152-9/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2512 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix the fault while buying ex-email.ptt2005-02-142-7/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2511 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revert trunk/pttbbs/pttbbs.mkvictor2005-02-142-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2510 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* commit local change of {read,write}_favrec, which solved the problem of ↵victor2005-02-144-10/+46
| | | | | | pointer size in 32 and 64-bit arch git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2509 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
* fix r2499 in _BBS_UTIL_C_ mode.in22005-02-131-0/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2507 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
* Complete groups as well as boards in m_board()scw2005-02-124-1/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2504 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix quoting and file editing bug.scw2005-02-121-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2503 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Strip escape sequences and spaces in country name when playing gomoku.scw2005-02-121-2/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2502 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* show a warning message if SYSOP enters a hidden boardin22005-02-121-0/+7
| | | | | | | and s/he is not in its board friend list. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2501 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add comment for hbflcheck()in22005-02-121-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2500 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* check if uid is in range in deumoney(). or damage SHM.in22005-02-124-4/+9
| | | | | | | | | 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
* Undo in gomoku needs opposite's comfirm.scw2005-02-121-22/+70
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2498 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* avoid integer overflowkcwu2005-02-121-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2497 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* rewrite few lines.kcwu2005-02-126-28/+25
| | | | | | | comment on strange lines. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2496 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Use chomp() instead of assigning '\0' directly.scw2005-02-126-14/+14
| | | | | | | Change a little code in searching of more() to reduce call of strlen(). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2495 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 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