summaryrefslogtreecommitdiffstats
path: root/mbbsd/brc.c
Commit message (Collapse)AuthorAgeFilesLines
* *** IMPORTANT CHANGE ***piaip2007-12-021-94/+131
| | | | | | | | | | | | BRC v3, supporting local modification THINK TWICE BEFORE YOU APPLY TO YOUR SYSTEM. BRC v3 will double size of BRC v2. BRC v3 can allow notifying changes of comment (recommend) system BRC v3 may cause more syscall activities than v2 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3608 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix typokcwu2007-09-251-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3577 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * Fix last brc revise, which makes brc_currbid and currbid inconsistent. kcwu2007-06-191-3/+14
| | | | | | | | * Now brc could save brc_buf to disk temporary and load back. Need to trade off between memory and disk i/o. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3544 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revise brc interface and its document.kcwu2007-06-121-54/+106
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3542 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* code clean upkcwu2007-06-101-13/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3538 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add a lot of assertions to ensure bid is in correct range when access via bid.kcwu2006-04-081-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3341 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make different tmp file to avoid open same file for write.kcwu2006-04-081-2/+1
| | | | | | | (however, open with "w" flag will write to different inode, so won't make things corruption) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3323 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* write brc to temporary file and rename it after write successfully.kcwu2006-03-271-2/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3310 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* large terminal rules.piaip2005-08-061-1/+1
| | | | | | | | | | | | | - vmsg with formats is now vmsgf. - deprecates vmsg_lines = i hope changes in admin does not make trouble because the old way looks like a mess within my terminal. - pending issue: = pressanykey_or_callangel is in oldway = showtitle, msg_seperator, and others should also be fixed git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2995 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add 'const' qualifiers on function parameters.kcwu2005-03-191-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2632 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* explicitly tell C compiler functions have no parameterkcwu2005-03-121-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2592 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use time4_t(uint32_t) instead of time_t for x86-64 arch.in22005-01-241-27/+29
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2426 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* cdoc finishedvictor2004-12-171-0/+4
| | | | | | | | 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
* merge back from branch victor.solarisvictor2004-09-101-5/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2189 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Using mmap instead of alloca to get buffer when CRITICAL_MEMORY is defined.scw2004-09-091-1/+22
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2185 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Use alloca() to get needed buffer instead of fix-size array on stackscw2004-08-011-1/+2
| | | | | | | avoiding stack grows too fast. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2154 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Merge from scw.angel.scw2004-05-241-10/+9
| | | | | | | | *NOTE* Before running this revision, please read PttCurrent board at telnet://ptt.cc or http://scwg.wiki.ptt.cc/-Angel git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2014 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix disconnection when leaving board.scw2004-05-211-5/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2010 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revert cuser from pointer to buffer.ptt2004-04-211-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1798 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add $Id$in22004-04-071-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1714 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Merge from brc2 branch.scw2004-04-051-0/+423
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1695 63ad8ddf-47c3-0310-b6dd-a9e9d9715204