From a1df458524e9de0c19e4151e15765dc2bc508259 Mon Sep 17 00:00:00 2001 From: Stefan Hoffmann Date: Tue, 8 Apr 2014 22:01:33 +0200 Subject: removed mch_remove macro --- src/undo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/undo.c') diff --git a/src/undo.c b/src/undo.c index f4e95c43f7..c4345ccf7e 100644 --- a/src/undo.c +++ b/src/undo.c @@ -1189,7 +1189,7 @@ void u_write_undo(char_u *name, int forceit, buf_T *buf, char_u *hash) } } } - mch_remove(file_name); + os_remove((char *)file_name); } /* If there is no undo information at all, quit here after deleting any @@ -1242,7 +1242,7 @@ void u_write_undo(char_u *name, int forceit, buf_T *buf, char_u *hash) if (fp == NULL) { EMSG2(_(e_not_open), file_name); close(fd); - mch_remove(file_name); + os_remove((char *)file_name); goto theend; } -- cgit