libtool-commit
[Top][All Lists]
Advanced

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

[SCM] GNU Libtool branch, master, updated. v2.2.6-9-gd185ad6


From: Eric Blake
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-9-gd185ad6
Date: Fri, 26 Sep 2008 15:57:26 +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  d185ad66e6469919022f83eb845b1fc9ab19abec (commit)
      from  1f7fe1cc9c05244453c81264577f9d424fd1f4c8 (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 d185ad66e6469919022f83eb845b1fc9ab19abec
Author: Eric Blake <address@hidden>
Date:   Fri Sep 26 09:43:04 2008 -0600

    Avoid gcc warning.
    
    * libltdl/loaders/loadlibrary.c (vm_open): Don't check for array
    being a NULL pointer.
    
    Signed-off-by: Eric Blake <address@hidden>

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

Summary of changes:
 ChangeLog                     |    6 ++++++
 libltdl/loaders/loadlibrary.c |    2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d5edde8..bdec7e6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-09-26  Eric Blake  <address@hidden>
+
+       Avoid gcc warning.
+       * libltdl/loaders/loadlibrary.c (vm_open): Don't check for array
+       being a NULL pointer.
+
 2008-09-20  Ralf Wildenhues  <address@hidden>
 
        Man pages for libtoolize and libtool, new command line option
diff --git a/libltdl/loaders/loadlibrary.c b/libltdl/loaders/loadlibrary.c
index 5644676..97fddf4 100644
--- a/libltdl/loaders/loadlibrary.c
+++ b/libltdl/loaders/loadlibrary.c
@@ -156,7 +156,7 @@ vm_open (lt_user_data LT__UNUSED loader_data, const char 
*filename,
          /* Append a `.' to stop Windows from adding an
             implicit `.dll' extension. */
          if (!len)
-           len = LT_STRLEN (wpath);
+           len = strlen (wpath);
 
          if (len + 1 >= MAX_PATH)
            {


hooks/post-receive
--
GNU Libtool




reply via email to

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