libtool-patches
[Top][All Lists]
Advanced

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

FYI: libtool--devo--1.0--patch-139


From: Gary V. Vaughan
Subject: FYI: libtool--devo--1.0--patch-139
Date: Mon, 30 Aug 2004 13:33:53 +0100 (BST)
User-agent: mailnotify/0.3

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Applied to HEAD.
- -- 
Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook
_________________________________________________________
This patch notification generated by tlaapply version 0.5
http://tkd.kicks-ass.net/arch/address@hidden/cvs-utils--tla--1.0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Darwin)

iD8DBQFBMx6xFRMICSmD1gYRAsImAJ43LiE0ebos6ZnRsyVL7jpFvlbnMgCfRjve
3/qYdce6ktjNWssuAGTVQws=
=f2Ju
-----END PGP SIGNATURE-----
* looking for address@hidden/libtool--devo--1.0--patch-138 to compare with
* comparing to address@hidden/libtool--devo--1.0--patch-138
M  libltdl/lt_dlloader.c
M  ChangeLog
M  NEWS
M  libltdl/ltdl.c
M  libltdl/lt_dlloader.h

* modified files

Index: Changelog
from  Gary V. Vaughan  <address@hidden>

        * libltdl/lt_dlloader.c (lt_dlloader_remove): Since the return
        value of this function is often passed to free, don't declare it
        `const'. Responsibility for this memory is given back to the
        caller on return.
        * libltdl/lt_dlloader.h (lt_dlloader_remove): Ditto.
        * libltdl/ltdl.c (lt_dlexit): Adjust.
        * NEWS: Updated.

--- orig/NEWS
+++ mod/NEWS
@@ -1,7 +1,7 @@
 NEWS - list of user-visible changes between releases of GNU Libtool
 
 New in 1.9d: 2004-??-??; CVS version 1.9c, Libtool team:
-* ???
+* Return type of lt_dlloader_remove is no longer `const'.
 
 New in 1.9b: 2004-08-29; CVS version 1.5a, Libtool team:
 * The /^_?LT_[A-Z_]+$/ namespace is now reserved for Libtool's own macros.


--- orig/libltdl/lt_dlloader.c
+++ mod/libltdl/lt_dlloader.c
@@ -109,7 +109,7 @@
    was no match, return NULL; if there is an error, return NULL and
    set an error for lt_dlerror; in either case the loader list is
    not changed.  */
-const lt_dlvtable *
+lt_dlvtable *
 lt_dlloader_remove (const char *name)
 {
   const lt_dlvtable *  vtable  = lt_dlloader_find (name);


--- orig/libltdl/lt_dlloader.h
+++ mod/libltdl/lt_dlloader.h
@@ -70,7 +70,7 @@
 LT_SCOPE int           lt_dlloader_add    (const lt_dlvtable *vtable);
 LT_SCOPE lt_dlloader   lt_dlloader_next   (const lt_dlloader loader);
 
-LT_SCOPE const lt_dlvtable *lt_dlloader_remove (const char *name);
+LT_SCOPE lt_dlvtable * lt_dlloader_remove      (const char *name);
 LT_SCOPE const lt_dlvtable *lt_dlloader_find   (const char *name);
 LT_SCOPE const lt_dlvtable *lt_dlloader_get    (lt_dlloader loader);
 


--- orig/libltdl/ltdl.c
+++ mod/libltdl/ltdl.c
@@ -290,7 +290,7 @@
       /* close all loaders */
       while (loader = lt_dlloader_next (loader))
        {
-         const lt_dlvtable *vtable = lt_dlloader_get (loader);
+         lt_dlvtable *vtable = (lt_dlvtable *) lt_dlloader_get (loader);
 
          if ((vtable = lt_dlloader_remove (vtable->name)))
            {




reply via email to

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