summaryrefslogtreecommitdiffstats
path: root/mbbsd/xyz.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/xyz.c')
-rw-r--r--mbbsd/xyz.c1
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;