]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/ltdl.c (lt_dlerror): change return value when
authorScott James Remnant <scott@netsplit.com>
Tue, 7 Oct 2003 22:29:05 +0000 (22:29 +0000)
committerPeter O'Gorman <peter@pogma.com>
Tue, 7 Oct 2003 22:29:05 +0000 (22:29 +0000)
no error has occured to NULL to match documentation.
(Debian Bug #157229)

ChangeLog
libltdl/ltdl.c

index 47a36515237ae704dca613cd2d9a12d148e8c655..a2b8dea2359bdbdf3ae662889e47bacdbec95d3b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-10-08  Scott James Remnant  <scott@netsplit.com>
+
+       * 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  <gary@gnu.org>
 
        * ltmain.in: Don't suppress output of PIC mode compile if
index ce81084308fefb02a935d2deb3ba1afceca72270..5ea74635a58da2c3041640ceb7955355a00f356f 100644 (file)
@@ -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