summaryrefslogtreecommitdiffstats
path: root/mbbsd/edit.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* fix assess bugvictor2004-11-221-6/+11
| | | | | | | some comments git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2348 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
* 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
* 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
* 1. Add reason on post title at voilationLaw.ptt2004-10-131-3/+3
| | | | | | | 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
* Revert some A270 ~ A2A3 in Big5 back to F9FA ~ F9FD in Big5.scw2004-09-111-1/+1
| | | | | | | | These four symbols are not encoded in Unicode, so may be discarded when using UTF-8 encoding. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2191 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge back from branch victor.solarisvictor2004-09-101-10/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2189 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* enable the editor with symbol bar.ptt2004-07-111-12/+229
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2130 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* merge back from victor.screen branchvictor2004-06-121-1/+1
| | | | | | | remove showansi option git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2060 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* replace some prints() with outs(),kcwu2004-06-101-4/+3
| | | | | | | | | | | | 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
* strcasestr() is OS dependent functionkcwu2004-06-041-15/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2052 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use 'const' keyword to reduce 7904 bytes data segmentkcwu2004-06-041-1/+1
| | | | | | | from 9320 to 1416 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2049 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* re-add anti-robot in editKuolin.test@2043ptt2004-06-021-1/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2043 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* edit.c: just need to fopenvictor2004-05-191-7/+2
| | | | | | | talk.c: fix broken fd after canceling the request git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2003 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change log_file()ptt2004-04-301-13/+0
| | | | | | | log_user() git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1889 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* 1.avoid bottom black holeptt2004-04-291-1/+1
| | | | | | | | 2.check board friend when crosspost 3.add 'X' in more git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1887 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* little bug report fixedptt2004-04-241-7/+6
| | | | | | | | | | | | | | | | 作者 Toy (WeiTing) 看板 SYSOP 標題 色碼輸入無法正常運作. 時間 Fri Apr 23 18:13:42 2004 ─────────────────────────────────────── 當按ctrl+v進入ANSI狀態時 按ctrl+c輸入的色碼無法正常運作 麻煩sysop了:) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1839 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* modify a little for vmsgptt2004-04-241-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1837 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reoragnize functions ptt2004-04-241-2/+1
| | | | | | | | | mprints, pprints -> mouts remove useless refresh, pressanykey(), sleep,... git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1833 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* integrate igetkey igetch egetchptt2004-04-241-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1828 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revert cuser from pointer to buffer.ptt2004-04-211-16/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1798 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove unsigned int for moneyptt2004-04-071-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1711 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix warning, including:scw2004-04-021-4/+8
| | | | | | | | | | Prototype differance of crypt() on linux. Adding _ISOC99_SOURCE to get declaration of snprintf() on linux. Including strings.h to get declaration of strcasecmp() on linux. Using mkstemp() instead of tempnam(). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1679 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add mmap to cuser get ride of passwd_updateptt2004-03-311-17/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1640 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Wrong buffer size.scw2004-02-191-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1545 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* rm SUPPORT_GB codevictor2004-01-091-6/+1
| | | | | | | | mv protos to convert.c rename Jaky_outs git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1476 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use open() instead of fopen() in log_file()in22003-12-071-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1405 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* clean upkcwu2003-09-071-13/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1166 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commit bugvictor2003-07-171-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1059 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commit errorvictor2003-07-171-13/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1058 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* random signaturevictor2003-07-171-8/+11
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1056 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* assert() the return value of strchr() strrchr()kcwu2003-06-281-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@982 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove unused variablekcwu2003-06-261-16/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@968 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add commentsin22003-06-251-1/+27
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@964 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* code auditkcwu2003-06-231-2/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@963 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bugin22003-06-191-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@946 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix a bug of buffer overflowin22003-05-271-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@908 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* dirty fix. would this cause memory leak?in22003-04-101-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@785 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug, add debug information if DEBUGin22003-04-101-2/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@784 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* reduce memory usagein22003-04-091-16/+47
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@783 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix strange syntax informed by gcc -Wkcwu2003-01-201-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@639 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * there are so many fopen() without fclose()kcwu2003-01-201-2/+4
| | | | | | | | * assert fopen() * clean up git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@638 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove unnecessary `static' keyword from some local variablekcwu2003-01-161-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@602 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make gcc33 happyin22003-01-011-7/+9
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@592 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* use gcc's extension to check format stringkcwu2002-12-261-2/+3
| | | | | | | and make compiler happier git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@588 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *** empty log message ***ptt2002-11-231-5/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@579 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* editlock by flock()in22002-11-071-37/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@558 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* MAX_EDIT_LINEin22002-10-261-1/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@542 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* not only long screen, but also width screenkcwu2002-09-111-3/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@518 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix memory errorin22002-08-251-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@495 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* edit lockin22002-08-251-1/+38
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@493 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove OUTTA_CACHEin22002-08-201-4/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@480 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* sprintf() -> snprintf()in22002-07-231-9/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@435 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* indent -i4in22002-07-211-38/+38
| | | | | | | fix indent's word error git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@429 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* strcpy() -> strlcpy()in22002-07-211-12/+12
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@428 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* indentin22002-07-061-828/+894
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@415 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* global variable move to var.cin22002-06-041-47/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@280 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix idle a bitptt2002-05-151-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@171 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix post moneyptt2002-05-151-5/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@170 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* replace time(NULL) by nowptt2002-05-131-3/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@163 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix last commitin22002-05-011-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@138 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change real_name[20] to real_name[IDLEN+2]in22002-05-011-2/+2
| | | | | | | for anonymous posting git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@137 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change getdata() constant to sizeof()in22002-04-291-16/+19
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@131 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* for mbbsd.iccin22002-04-271-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@128 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix bug (MDCACHE)in22002-04-161-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@118 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* MDCACHEin22002-04-151-1/+5
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@103 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Initial revisionin22002-03-071-0/+2256
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1 63ad8ddf-47c3-0310-b6dd-a9e9d9715204