diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-01-14 19:50:05 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-01-14 19:50:05 +0800 |
commit | a298d6c46128c1b594e39578024933a696de741f (patch) | |
tree | e07278a6e7ddeefa6f308cf83b0085c45e3e42f5 /mbbsd/xyz.c | |
parent | d9e73c38f6bdb4e85ba58ccb2382f15eb9186335 (diff) | |
download | pttbbs-a298d6c46128c1b594e39578024933a696de741f.tar pttbbs-a298d6c46128c1b594e39578024933a696de741f.tar.gz pttbbs-a298d6c46128c1b594e39578024933a696de741f.tar.bz2 pttbbs-a298d6c46128c1b594e39578024933a696de741f.tar.lz pttbbs-a298d6c46128c1b594e39578024933a696de741f.tar.xz pttbbs-a298d6c46128c1b594e39578024933a696de741f.tar.zst pttbbs-a298d6c46128c1b594e39578024933a696de741f.zip |
- bbs: add title for AID display
- xyz: prevent mmap crash for note_ans
- pfterm/screen: add getyx_ansi
- fav: add ASKBOARD to new account default favs
- record: add setaidfile()
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3834 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/xyz.c')
-rw-r--r-- | mbbsd/xyz.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mbbsd/xyz.c b/mbbsd/xyz.c index f33d32fe..6de0f0a5 100644 --- a/mbbsd/xyz.c +++ b/mbbsd/xyz.c @@ -207,6 +207,7 @@ note(void) if ((foo = fopen(".note", "a")) == NULL) return 0; + unlink(fn_note_ans); // remove first to prevent mmap(pmore) crash if ((fp = fopen(fn_note_ans, "w")) == NULL) { fclose(fp); return 0; |