From 4ee2009083cb6f279c6f8aa4397462e887d5818e Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 3 Jun 2022 10:54:35 +0200 Subject: w32: Allow Unicode filenames for iobuf_cancel. * common/iobuf.c (iobuf_cancel): Use gnupg_remove * common/mischelp.c (same_file_p): Allow for Unicode names. -- Note that the second patch is used to handle Unicode filenames which are symbolic links. --- common/iobuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/iobuf.c') diff --git a/common/iobuf.c b/common/iobuf.c index 2137604a9..c88d67908 100644 --- a/common/iobuf.c +++ b/common/iobuf.c @@ -1282,7 +1282,7 @@ iobuf_cancel (iobuf_t a) { /* Argg, MSDOS does not allow removing open files. So * we have to do it here */ - remove (remove_name); + gnupg_remove (remove_name); xfree (remove_name); } -- cgit v1.2.3