From b1e2b6206dda2f1000355e91d53b0467050d4646 Mon Sep 17 00:00:00 2001 From: "John \"Elwin\" Edwards" Date: Mon, 3 Aug 2015 06:42:59 -0400 Subject: [PATCH] srogue: replace unlink() with md_unlink(). md_unlink_open_file() might be needed eventually. --- srogue/save.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srogue/save.c b/srogue/save.c index 279ccc7..c7f8c3b 100644 --- a/srogue/save.c +++ b/srogue/save.c @@ -286,7 +286,7 @@ char *file, **envp; #endif if (!wizard) { - if (unlink(file) < 0) + if (md_unlink(file) < 0) { endwin(); printf("Cannot unlink file\n");