From: Scott James Remnant Date: Tue, 7 Oct 2003 22:29:05 +0000 (+0000) Subject: * libltdl/ltdl.c (lt_dlerror): change return value when X-Git-Tag: release-1-9b~307 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bbeb14f36cb8fc4a918258496c50c7b5ebe0f1b;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 47a365152..a2b8dea23 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-10-08 Scott James Remnant + + * libltdl/ltdl.c (lt_dlerror): change return value when + no error has occured to NULL to match documentation. + (Debian Bug #157229) + 2003-10-07 Gary V. Vaughan * ltmain.in: Don't suppress output of PIC mode compile if 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