From: Scott James Remnant Date: Fri, 23 Jan 2004 06:04:53 +0000 (+0000) Subject: * libltdl/ltdl.c (lt_dlerror): change return value when X-Git-Tag: release-1-5-2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=057976df4c2c7daf8feb00dda6c6512f9a8dada5;p=thirdparty%2Flibtool.git * libltdl/ltdl.c (lt_dlerror): change return value when no error has occured to NULL to match documentation. (Debian Bug #157229) --- diff --git a/ChangeLog b/ChangeLog index 0e2cdfefa..611fdb4a7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-01-23 Scott James Remnant + + * libltdl/ltdl.c (lt_dlerror): change return value when + no error has occured to NULL to match documentation. + (Debian Bug #157229) + 2004-01-23 Kevin P. Fleming Charles Wilson diff --git a/libltdl/ltdl.c b/libltdl/ltdl.c index ce8108430..5ea74635a 100644 --- a/libltdl/ltdl.c +++ b/libltdl/ltdl.c @@ -3926,7 +3926,7 @@ lt_dlerror () LT_DLMUTEX_GETERROR (error); LT_DLMUTEX_SETERROR (0); - return error ? error : LT_DLSTRERROR (UNKNOWN); + return error ? error : NULL; } static int