libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: address@hidden: Re: Bug#148499: Error ch eck in lt_dlopen/lt_dlopene


From: Boehne, Robert
Subject: RE: address@hidden: Re: Bug#148499: Error ch eck in lt_dlopen/lt_dlopenext missing again.]
Date: Wed, 29 May 2002 17:23:39 -0400

Ossama:

Looks good to me, be my guest.

-----Original Message-----
From: Ossama Othman [mailto:address@hidden]
Sent: Wednesday, May 29, 2002 4:14 PM
To: address@hidden
Subject: address@hidden: Re: Bug#148499: Error
check in lt_dlopen/lt_dlopenext missing again.]


Hi,

Below is a fix from Daniel Kobras for the libtool 1.4.2 branch that
addresses a problem in libltdl.  Okay to commit?


--- ChangeLog.orig      Wed May 29 23:04:40 2002
+++ ChangeLog   Wed May 29 23:03:49 2002
@@ -1,3 +1,8 @@
+2002-05-29  Daniel Kobras  <address@hidden>
+
+       * libltdl/ltdl.c: In lt_dlopen() and lt_dlopenext(), don't return
+       bogus handle to user if tryall_dlopen() fails.
+      
 2002-05-06  Paul Eggert  <address@hidden>
 
        * libtool.m4 (_LT_AC_LTCONFIG_HACK): head -1 -> sed 1q to
--- libltdl/ltdl.c.orig Wed May 29 23:04:40 2002
+++ libltdl/ltdl.c      Wed May 29 23:06:57 2002
@@ -2875,7 +2875,10 @@
 #endif
                   )))
        {
-         tryall_dlopen (&newhandle, filename);
+         if (tryall_dlopen (&newhandle, filename) != 0)
+           {
+             newhandle = NULL;
+           }
        }
 
       if (!newhandle)



Thanks,
-Ossama
--
Ossama Othman <address@hidden>
Distributed Object Computing Laboratory, Univ. of California at Irvine
1024D/F7A394A8 - 84ED AA0B 1203 99E4 1068  70E6 5EB7 5E71 F7A3 94A8

_______________________________________________
Libtool-patches mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/libtool-patches


reply via email to

[Prev in Thread] Current Thread [Next in Thread]