]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Correct sense of libltdl file not found check.
authorAndrew Suffield <asuffield@debian.org>
Thu, 24 Oct 2002 21:28:34 +0000 (21:28 +0000)
committerBob Friesenhahn <bfriesen@simple.dallas.tx.us>
Thu, 24 Oct 2002 21:28:34 +0000 (21:28 +0000)
ChangeLog
libltdl/ltdl.c

index 95e25bbbfd348cab531cfb7a0c53f6568c4730c6..bea2cd341891c5d3dd28bd622f30b4eb88218270 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,11 +1,16 @@
+2002-10-24  Andrew Suffield  <asuffield@debian.org>
+
+       * libltdl/ltdl.c (lt_dlopenext): Corrected sense of "file not
+        found" check.
+
 2002-10-24  Ossama Othman  <ossama@doc.ece.uci.edu>
 
        * ltmain.in: Support compiler names matching g++*
 
 2002-10-23  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
 
-        * Removed old Windows cruft.
-        * Adapted pw32 to be like Cygwin/MinGW.
+        * libtool.m4: Removed old Windows cruft.
+        * libtool.m4: Adapted pw32 to be like Cygwin/MinGW.
 
 2002-10-23  Robert Boehne  <rboehne@gnu.org>
 
index 2984c6ed8b0d19d577b9dafc423b1cb6c26f43f8..dd3ec203ad991eb386dec0da9398c0fc943c56d5 100644 (file)
@@ -3118,7 +3118,7 @@ lt_dlopenext (filename)
      failed, it is better to return an error message here than to
      report FILE_NOT_FOUND when the alternatives (foo.so etc) are not
      in the module search path.  */
-  if (handle || ((errors > 0) && file_not_found ()))
+  if (handle || ((errors > 0) && !file_not_found ()))
     {
       LT_DLFREE (tmp);
       return handle;
@@ -3145,7 +3145,7 @@ lt_dlopenext (filename)
 
   /* As before, if the file was found but loading failed, return now
      with the current error message.  */
-  if (handle || ((errors > 0) && file_not_found ()))
+  if (handle || ((errors > 0) && !file_not_found ()))
     {
       LT_DLFREE (tmp);
       return handle;