aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--NEWS6
-rw-r--r--configure.ac2
-rw-r--r--src/strerror.c2
4 files changed, 15 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 7ce8fb2..78fc928 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2003-07-31 Marcus Brinkmann <[email protected]>
+
+ * src/strerror.c (gpg_strerror): Use CODE, not ERR to map error
+ code to errno.
+
+ * configure.ac (AC_INIT): Bump version to 0.3.
+
2003-07-30 Marcus Brinkmann <[email protected]>
* configure.ac (AC_INIT): Bump version to 0.2.
diff --git a/NEWS b/NEWS
index 3edfe90..522c200 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,9 @@
+Noteworthy changes in version 0.3 (unreleased)
+----------------------------------------------
+
+ * Fixed bug that prevented that system errors were mapped to error
+ strings correctly.
+
Noteworthy changes in version 0.2 (2003-07-30)
----------------------------------------------
diff --git a/configure.ac b/configure.ac
index 000c44f..0ee03eb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,7 +20,7 @@
# (Process this file with autoconf to produce a configure script.)
# Version number: Remember to change it immediately *after* a release.
-AC_INIT(libgpg-error, 0.2, [email protected])
+AC_INIT(libgpg-error, 0.3, [email protected])
# LT Version numbers, remember to change them just *before* a release.
# (Code changed: REVISION++)
# (Interfaces added/removed/changed: CURRENT++, REVISION=0)
diff --git a/src/strerror.c b/src/strerror.c
index 7ed7e31..9dc247b 100644
--- a/src/strerror.c
+++ b/src/strerror.c
@@ -38,7 +38,7 @@ gpg_strerror (gpg_error_t err)
if (code & GPG_ERR_SYSTEM_ERROR)
{
- int no = gpg_err_code_to_errno (err);
+ int no = gpg_err_code_to_errno (code);
if (no)
return strerror (no);
else