removed mch_remove macro

This commit is contained in:
Stefan Hoffmann
2014-04-08 22:01:33 +02:00
committed by Thiago de Arruda
parent 445f31f076
commit a1df458524
13 changed files with 50 additions and 50 deletions

View File

@@ -1256,7 +1256,7 @@ int flags; /* EW_* flags */
vim_free(command);
if (i != 0) { /* mch_call_shell() failed */
mch_remove(tempname);
os_remove((char *)tempname);
vim_free(tempname);
/*
* With interactive completion, the error message is not printed.
@@ -1296,7 +1296,7 @@ int flags; /* EW_* flags */
buffer = alloc(len + 1);
i = fread((char *)buffer, 1, len, fd);
fclose(fd);
mch_remove(tempname);
os_remove((char *)tempname);
if (i != (int)len) {
/* unexpected read error */
EMSG2(_(e_notread), tempname);