libtool-commit
[Top][All Lists]
Advanced

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

[SCM] GNU Libtool branch, master, updated. release-2-2-2-16-g314d795


From: Gary V. Vaughan
Subject: [SCM] GNU Libtool branch, master, updated. release-2-2-2-16-g314d795
Date: Sun, 20 Apr 2008 21:37:52 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  314d795eab720baf4416cc703b27a9059fea509d (commit)
      from  c8487807a647b3b2f0faff974456a200ad1ebc0e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 314d795eab720baf4416cc703b27a9059fea509d
Author: Gary V. Vaughan <address@hidden>
Date:   Sun Apr 20 17:35:46 2008 -0400

    Fix misleading lt_dlopenadvise documentation.
    
    * doc/libtool.texi (lt_dlopenadvise): The last parameter is of
    type lt_dladvise, not lt_dladvise*.
    (my_dlopenext): Correct the example too.
    * NEWS: Updated.
    Reported by Gary Kumfert <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog        |    9 +++++++++
 NEWS             |    7 +++++++
 doc/libtool.texi |    8 ++++++--
 3 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d3609a9..8d2e5c3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2008-04-20  Gary V. Vaughan  <address@hidden>
+
+       Fix misleading lt_dlopenadvise documentation.
+       * doc/libtool.texi (lt_dlopenadvise): The last parameter is of
+       type lt_dladvise, not lt_dladvise*.
+       (my_dlopenext): Correct the example too.
+       * NEWS: Updated.
+       Reported by Gary Kumfert <address@hidden>
+
 2008-04-19  Ralf Wildenhues  <address@hidden>
 
        Fix testsuite cleanup warnings on AIX with NFS.
diff --git a/NEWS b/NEWS
index 420e53b..300a57f 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,12 @@
 NEWS - list of user-visible changes between releases of GNU Libtool
 
+New in 2.2.4: 2008-??-??: CVS version 2.2.3a, Libtool team:
+
+* Bug fixes:
+
+  - The documentation for lt_dlopenadvise showed the wrong type for
+    the lt_dladvise parameter.
+
 New in 2.2.2: 2008-04-01: CVS version 2.2.1a, Libtool team:
 
 * New features:
diff --git a/doc/libtool.texi b/doc/libtool.texi
index febbd11..5a2bd55 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -3685,11 +3685,15 @@ to be able to @code{dlopen} such libraries as well as 
libtool modules
 transparently.
 @end deftypefun
 
address@hidden lt_dlhandle lt_dlopenadvise (const char address@hidden, 
@w{lt_dladvise address@hidden)
address@hidden lt_dlhandle lt_dlopenadvise (const char address@hidden, 
@w{lt_dladvise @var{advise}})
 The same as @code{lt_dlopen}, except that it also requires an additional
 argument which may contain additional hints to the underlying system
 module loader.  The @var{advise} parameter is opaque and can only be
 accessed with the functions documented below.
+
+Note that this function does not change the content of @var{advise}, so
+unlike the other calls in this @sc{api} takes a direct @code{lt_dladvise}
+type, and not a pointer to the same.
 @end deftypefun
 
 @deftypefun int lt_dladvise_init (lt_dladvise address@hidden)
@@ -3727,7 +3731,7 @@ my_dlopenext (const char *filename)
   lt_dladvise advise;
 
   if (!lt_dladvise_init (&advise) && !lt_dladvise_ext (&advise))
-    handle = lt_dlopenadvise (filename, &advise);
+    handle = lt_dlopenadvise (filename, advise);
 
   lt_dladvise_destroy (&advise);
 


hooks/post-receive
--
GNU Libtool




reply via email to

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