]> git.ipfire.org Git - thirdparty/libtool.git/commit
* libltdl/slist.c, libltdl/slist.h: Merge in changes from latest
authorGary V. Vaughan <gary@gnu.org>
Thu, 2 Sep 2004 12:55:32 +0000 (12:55 +0000)
committerGary V. Vaughan <gary@gnu.org>
Thu, 2 Sep 2004 12:55:32 +0000 (12:55 +0000)
commitcae83b341bbb9f901313e3ff13635e63da379f4e
tree7eff1a014742bfb52a08bbce1a1e52c25e381e07
parent1748adcc651ae0544e3ab0b22b965f0bacb7f3b0
* libltdl/slist.c, libltdl/slist.h: Merge in changes from latest
upstream.  Mostly comments, formal item boxing, a sort function,
and const madness reduction.
(slist_new): Removed.
(slist_box, slist_unbox, slist_sort): New.
(SListCompare, SListCallback): Swapped!
(slist_remove, slist_find): Change order of parameters for
orthogonality with slist_foreach.  Changed all callers.
* libltdl/lt_dlloader.c (loader_cmp): Renamed to...
(loader_callback): ...this.  Return boxed item.
(lt_dlloader_remove): Adjust to new loader_callback semantics;
unbox each removed item before returning.
Remove unused variable.
Remove const from name parameter, since the slist API cannot
guarantee userdata const-ancy for its callback functions.
(lt_dlloader_find): Adjust to new loader_callback semantics; need
to return the contents of the boxed item.
Remove const from name parameter, since the slist API cannot
guarantee userdata const-ancy for its callback functions.
* libltdl/lt_dlloader.h (lt_dlloader_find, lt_dlloader_remove):
Adjust to new constless footprint.
* libltdl/ltdl.c (ltdl_exit): The global `loaders' list is changed
variable `loader' is invalidated.  Since some loaders may be
resident modules that cannot be unloaded (though we have none
yet), we must save each `next' address before calling
`lt_dlloader_remove'.
* NEWS: Updated.
* THANKS: Added Ralf.
ChangeLog
NEWS
THANKS
libltdl/lt_dlloader.c
libltdl/lt_dlloader.h
libltdl/ltdl.c
libltdl/slist.c
libltdl/slist.h