aboutsummaryrefslogtreecommitdiffstats
path: root/common/iobuf.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2022-06-03 08:54:35 +0000
committerWerner Koch <[email protected]>2022-06-03 08:54:35 +0000
commit4ee2009083cb6f279c6f8aa4397462e887d5818e (patch)
tree4261606111885061238ca6614ad7bceef505e187 /common/iobuf.c
parentRemove remaining support for WindowsCE (diff)
downloadgnupg-4ee2009083cb6f279c6f8aa4397462e887d5818e.tar.gz
gnupg-4ee2009083cb6f279c6f8aa4397462e887d5818e.zip
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.
Diffstat (limited to '')
-rw-r--r--common/iobuf.c2
1 files changed, 1 insertions, 1 deletions
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);
}