libtool-patches
[Top][All Lists]
Advanced

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

address@hidden: Re: Bug#148499: Error check in lt_dlopen/lt_dlopenext mi


From: Ossama Othman
Subject: address@hidden: Re: Bug#148499: Error check in lt_dlopen/lt_dlopenext missing again.]
Date: Wed, 29 May 2002 14:13:45 -0700
User-agent: Mutt/1.3.28i

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



reply via email to

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