From 6adf7dd6d12eadc8992eeee12b8ee60a67b334fd Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Thu, 31 Jul 2003 16:14:56 +0000 Subject: 2003-07-31 Marcus Brinkmann * src/strerror.c (gpg_strerror): Use CODE, not ERR to map error code to errno. * configure.ac (AC_INIT): Bump version to 0.3. --- ChangeLog | 7 +++++++ NEWS | 6 ++++++ configure.ac | 2 +- src/strerror.c | 2 +- 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 + + * 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 * 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, bug-gnupg@gnupg.org) +AC_INIT(libgpg-error, 0.3, bug-gnupg@gnupg.org) # 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 -- cgit v1.2.3