]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/ltdl.c (lt_find_dlhandle): Deleted. This was B.S.
authorGary V. Vaughan <gary@gnu.org>
Thu, 24 Feb 2000 02:15:35 +0000 (02:15 +0000)
committerGary V. Vaughan <gary@gnu.org>
Thu, 24 Feb 2000 02:15:35 +0000 (02:15 +0000)
far cleaner to use lt_dlforeach and lt_dlgetinfo.
* libltdl/ltdl.h:  Prototype deleted.
* doc/libtool.texi: Documentation deleted.
* NEWS: annoncement deleted.

ChangeLog
NEWS
doc/libtool.texi
libltdl/ltdl.c
libltdl/ltdl.h

index bc75d58a797d70cc4b2b93bb79005d017589c346..8cfbf0a7fb45cee5104c46565c260faa9dbe270f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2000-02-03  Gary V. Vaughan  <gary@oranda.demon.co.uk>
+
+       * libltdl/ltdl.c (lt_find_dlhandle): Deleted.  This was B.S.
+       far cleaner to use lt_dlforeach and lt_dlgetinfo.
+       * libltdl/ltdl.h:  Prototype deleted.
+       * doc/libtool.texi: Documentation deleted.
+       * NEWS: annoncement deleted.
+
 2000-02-23  Thomas Tanner  <tanner@ffii.org>
 
        * ltmain.in: remove duplicates from deplibs, handle
diff --git a/NEWS b/NEWS
index b7b868b37b97cb42ed701166b00018421e226e92..41859c5f560d9990d9d83dbe7c91bb407449e03c 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -8,15 +8,13 @@ New in 1.3d: 2000-??-??; CVS version 1.3c, Libtool team:
 * Support for hardcoding run-time paths (-R) into libraries.
 * Support -dlopen and -dlpreopen for libraries.
 * Libtool now allows you to link shared libraries against static code.
-* New functions lt_dlgetdata, lt_dlsetdata, lt_dlgetinfo, lt_dlforeach
-  in libltdl can be used to store application specific data in handles.
+* New functions lt_dlgetinfo, lt_dlforeach in libltdl can be used to
+  access module specific data in handles.
 * New functions lt_next_dlloader, lt_dlloader_name, lt_find_dlloader,
   lt_add_dlloader in libltdl can be used for adding new types of module
   loader to libltdl..
 * New functions lt_dladderror, lt_dlseterror in libltdl can be used to
   integrate user module loaders with lt_dlerror.
-* New function lt_find_dlhandle can be used to lookup the handle
-  associated with a previously dlopened filename.
 * "-Xcompiler" and "-Wc," does now work in compile mode, too.
 * Start of support code for cross-compiling to win32.
 * libltdl can now be built as a dll with win32.
index 9162087c647135c5c2ff091ddf295544e644fbf5..f58b8fdc725bcbf2f17e87bf7574e909b28bb45d 100644 (file)
@@ -2918,14 +2918,6 @@ to be able to @code{dlopen} such libraries as well as libtool modules
 transparently.
 @end deftypefun
 
-@deftypefun lt_dlhandle lt_find_dlhandle (const char *@var{name})
-Lookup the module handle for the module that was loaded from
-@var{name}.  @var{name} must be exactly the same as the name used to
-open the module with @samp{lt_dlopen} or @samp{lt_dlopenext}.  If
-@var{name} was not previously used to open a module with either of those
-functions, @code{NULL} is returned.
-@end deftypefun
-
 @deftypefun int lt_dlclose (lt_dlhandle @var{handle})
 Decrement the reference count on the module @var{handle}.
 If it drops to zero and no other module depends on this module,
index 64d4c4ebfbeec630be6b823da877c6f93c84f934..84c9e72933d4785244d802c2808b939b5440bcd9 100644 (file)
@@ -1602,26 +1602,6 @@ lt_dlopenext (filename)
        return 0;
 }
 
-lt_dlhandle
-lt_find_dlhandle (name)
-       const char *name;
-{
-       lt_dlhandle cur = handles;
-       
-       /* check whether the module was already opened */
-       while (cur) {
-               /* try to dlopen the program itself? */
-               if (!cur->info.name && !name)
-                       break;
-               if (cur->info.name && name && 
-                   strcmp(cur->info.name, name) == 0)
-                       break;
-               cur = cur->next;
-       }
-
-       return cur;
-}
-
 int
 lt_dlclose (handle)
        lt_dlhandle handle;
index 9a2494b71f9f7fadb760b2105108d21eb11a1b98..2a2a75b8641819c194f4aa56f6845a745fe64c8e 100644 (file)
@@ -195,7 +195,7 @@ __BEGIN_DECLS
 extern int lt_dlinit LTDL_PARAMS((void));
 extern int lt_dlexit LTDL_PARAMS((void));
 
-/* Module search path manipulation.  */
+/* Module search path manipultation.  */
 extern int lt_dladdsearchdir LTDL_PARAMS((const char *search_dir));
 extern int lt_dlsetsearchpath LTDL_PARAMS((const char *search_path));
 extern const char *lt_dlgetsearchpath LTDL_PARAMS((void));
@@ -203,7 +203,6 @@ extern const char *lt_dlgetsearchpath LTDL_PARAMS((void));
 /* Portable libltdl versions of the system dlopen() API. */
 extern lt_dlhandle lt_dlopen LTDL_PARAMS((const char *filename));
 extern lt_dlhandle lt_dlopenext LTDL_PARAMS((const char *filename));
-extern lt_dlhandle lt_find_dlhandle LTDL_PARAMS((const char *name));
 extern lt_ptr_t lt_dlsym LTDL_PARAMS((lt_dlhandle handle, const char *name));
 extern const char *lt_dlerror LTDL_PARAMS((void));
 extern int lt_dlclose LTDL_PARAMS((lt_dlhandle handle));