| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
real => adminmode,
HAS_PERM() => HasUserPerm(),
HasPerm() => HasBoardPerm().
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2840 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
|
|
|
|
|
| |
First introduced by pmore, but this hard work
(to transform all files to new style) is made by
Rong-en Fan (rafan). Thanks!
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2796 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2632 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2600 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2592 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2572 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2570 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2569 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2568 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2563 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2534 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
|
|
|
| |
reduce two static array
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2524 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2474 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2438 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2430 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2426 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2393 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
some comments
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2348 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2240 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
|
|
|
| |
add file: file.c, move some useful subroutine out of friend.c
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2205 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
|
|
|
|
| |
Adding MAP_PRIVATE flag when getting MAP_ANON from mmap().
(on Linux, without this flag causes EINVAL)
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2197 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2176 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
|
|
|
| |
Also fix changing of prototypes in r2174.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2173 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2162 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2161 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2153 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2151 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
|
|
|
| |
send two 'left' when user actually pressed only one.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2142 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2136 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2135 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
|
|
|
| |
remove showansi option
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2060 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
|
|
|
|
|
|
|
|
| |
replace some outs() with outc(),
replace some fprintf() with fputs(),
and so on.
for performance.
and don't treat user input as format string.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2055 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
|
|
|
| |
from 9320 to 1416
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2049 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
|
|
|
| |
use static keyword for local function
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2048 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2020 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
|
|
|
|
| |
*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
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1960 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1921 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
|
|
|
| |
log_user()
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1889 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1885 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
|
|
|
|
| |
getkey -> vmsg_lines
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1884 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1882 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1872 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1856 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
|
|
|
|
|
| |
dirty hack to ignore "\0" in vmsg_lines()
(but igetch() should NOT return "\0")
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1855 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
|
|
|
|
|
| |
this patch dirty fixes getans()
and sould be discarded after fix dogetch().
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1854 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
|
|
|
| |
dirty hack here
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1851 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1850 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
|
|
|
|
| |
1. vmsg
2. read
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1846 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1837 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1828 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
|
|
|
| |
integrate similiar functions
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1827 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1798 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1689 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1640 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1412 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1405 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
|
|
|
|
|
|
| |
save cpu but increase SHM_t (sizeof(short) * MAX_ACTIVE) bytes
WARNING: SHM_t has been changed
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1212 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1162 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1065 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@982 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@712 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@602 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@435 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
|
|
|
| |
fix indent's word error
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@429 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@415 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@382 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@342 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@340 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@280 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
|
|
| |
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@15 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|
|
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
|