aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-08-12 11:43:46 +0000
committerWerner Koch <[email protected]>2010-08-12 11:43:46 +0000
commitd4d61b87f153f5c0657a5f698983a20b5398cfff (patch)
tree736a4302a4d11f586f47d50a0d40583f1835385e /common
parentPass on comments from SCD. (diff)
downloadgnupg-d4d61b87f153f5c0657a5f698983a20b5398cfff.tar.gz
gnupg-d4d61b87f153f5c0657a5f698983a20b5398cfff.zip
Fix dirmngr problems on CE.
Add new dirmngr commands. Minor other fixes.
Diffstat (limited to 'common')
-rw-r--r--common/ChangeLog4
-rw-r--r--common/sysutils.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/common/ChangeLog b/common/ChangeLog
index 9e6956370..b4c79e234 100644
--- a/common/ChangeLog
+++ b/common/ChangeLog
@@ -1,3 +1,7 @@
+2010-08-12 Werner Koch <[email protected]>
+
+ * sysutils.c (gnupg_remove) [W32CE]: Fix returned error.
+
2010-08-09 Werner Koch <[email protected]>
* logging.c (WITH_IPV6): New macro.
diff --git a/common/sysutils.c b/common/sysutils.c
index 82d9959d8..b75c5e1e5 100644
--- a/common/sysutils.c
+++ b/common/sysutils.c
@@ -530,8 +530,8 @@ gnupg_remove (const char *fname)
xfree (wfname);
}
if (!rc)
- gpg_err_set_errno (EIO);
- return !rc;
+ return -1; /* ERRNO is automagically provided by gpg-error.h. */
+ return 0;
#else
return remove (fname);
#endif