]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/ltdl.c (lt_dlerror): change return value when
authorScott James Remnant <scott@netsplit.com>
Fri, 23 Jan 2004 06:04:53 +0000 (06:04 +0000)
committerScott James Remnant <scott@netsplit.com>
Fri, 23 Jan 2004 06:04:53 +0000 (06:04 +0000)
no error has occured to NULL to match documentation.
(Debian Bug #157229)

ChangeLog
libltdl/ltdl.c

index 0e2cdfefa204e94c1c7f023b97087d2a3b247718..611fdb4a7ec8641f12569f64459e9d88df316934 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-01-23  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)
+
 2004-01-23  Kevin P. Fleming  <kpfleming@backtobasicsmgmt.com>
        Charles Wilson <cygwin@cwilson.fastmail.fm>
                                                                                
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