summaryrefslogtreecommitdiffstats
path: root/mbbsd/record.c
Commit message (Collapse)AuthorAgeFilesLines
* add stampfilefd() to avoid race conditionin22004-05-171-0/+31
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1998 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove black holeptt2004-05-011-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1904 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* update getindex to binary searchptt2004-05-011-18/+31
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1903 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* clean up getindex() and substitute recordptt2004-04-301-0/+47
| | | | | | | fix bug of OSONG git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1901 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove useless codesPtt.read@1812ptt2004-04-231-20/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1811 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix compile error & warning freein22004-04-151-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1766 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* delete with thresholdptt2004-04-141-7/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1760 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix for utilptt2004-04-121-16/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1742 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* safe article delete limited to only hot boards (nuser>20)ptt2004-04-121-54/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1741 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Avoid getting the same file name from stampfile() in utils.scw2004-04-121-6/+13
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1740 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add safe_delete_range for SAFE_ARTICLE_DELETEin22004-04-091-0/+33
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1734 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* less file I/Optt2004-03-301-66/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1626 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* get ride of delete_fileptt2004-03-281-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1618 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* simplify delete_recordptt2004-03-281-3/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1617 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* simplify record.cptt2004-03-281-47/+55
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1616 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* simplfy append_recordptt2004-03-251-7/+8
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1605 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix blackholeptt2004-03-241-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1604 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix black holeptt2004-03-241-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1603 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix the problem of black holeptt2004-03-241-2/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1602 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1586 ↵ptt2004-03-121-46/+0
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* delete only no (FILE_MARKED | FILE_DIGEST)in22004-02-141-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1535 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* SAFE_ARTICLE_DELETE for 'D'in22004-02-131-0/+32
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1534 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1498 ↵ptt2004-01-311-1/+1
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1494 ↵ptt2004-01-301-1/+1
| | | | 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* for SAFE_ARTICLE_DELETEin22003-12-151-0/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1408 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add SAFE_ARTICLE_DELETE,in22003-12-151-0/+13
| | | | | | | | | | | when using 'd' to delete an article, do not truncate .DIR immediately but add an empty record into the same place. this avoids many problems. (not complete yet) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1407 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* clean upkcwu2003-09-071-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1166 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* add get_record_keep().(no author)2003-09-041-1/+17
| | | | | | | | we don't need to open/close the same file every time in title search mode. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1155 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* warning free(no author)2003-08-281-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1138 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix util merging errorvictor2003-08-181-4/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1107 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* assert() the return value of strchr() strrchr()kcwu2003-06-281-3/+7
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@982 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* check lock when get_recordvictor2003-02-271-1/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@680 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* make gcc33 happyin22003-01-011-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@592 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* editlock by flock()in22002-11-071-1/+33
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@558 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* sprintf() -> snprintf()in22002-07-231-7/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@435 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* indent -i4in22002-07-211-17/+17
| | | | | | | 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-10/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@428 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* indentin22002-07-061-220/+247
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@415 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* change record stampfile functionptt2002-06-231-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@336 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* global variable move to var.cin22002-06-041-17/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@280 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* replace time(NULL) by nowptt2002-05-131-9/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@163 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* no warningin22002-04-161-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@112 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* boards/<hash>/<brdname>in22002-03-101-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@15 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Initial revisionin22002-03-071-0/+536
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1 63ad8ddf-47c3-0310-b6dd-a9e9d9715204