aboutsummaryrefslogtreecommitdiffstats
path: root/common/iobuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/iobuf.c')
-rw-r--r--common/iobuf.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/common/iobuf.c b/common/iobuf.c
index 9245a03e8..07edbbefd 100644
--- a/common/iobuf.c
+++ b/common/iobuf.c
@@ -1197,14 +1197,7 @@ iobuf_cancel (iobuf_t a)
{
/* Argg, MSDOS does not allow removing open files. So
* we have to do it here */
-#ifdef HAVE_W32CE_SYSTEM
- wchar_t *wtmp = utf8_to_wchar (remove_name);
- if (wtmp)
- DeleteFile (wtmp);
- xfree (wtmp);
-#else
- remove (remove_name);
-#endif
+ gnupg_remove (remove_name);
xfree (remove_name);
}
#endif