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.4.2.444-38-g42e91f0


From: Gary V. Vaughan
Subject: [SCM] GNU Libtool branch, master, updated. v2.4.2.444-38-g42e91f0
Date: Mon, 27 Oct 2014 11:22:45 +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  42e91f028255c79b1c3b308f61f0c0e6b6063280 (commit)
       via  54f6055601d8391bd473508704db69fc677e7e28 (commit)
      from  6b02c1fb4b5f91316c8e19d8506990ca6a7915e1 (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 42e91f028255c79b1c3b308f61f0c0e6b6063280
Author: Gary V. Vaughan <address@hidden>
Date:   Mon Oct 27 09:41:59 2014 +0000

    maint: fix a typo in THANKS.
    
    * THANKS: s/macports\.com/macports.org/
    
    Signed-off-by: Gary V. Vaughan <address@hidden>

commit 54f6055601d8391bd473508704db69fc677e7e28
Author: Gary V. Vaughan <address@hidden>
Date:   Sun Oct 26 21:50:06 2014 +0000

    syntax-check: use strlcpy instead of strncpy.
    
    * libltdl/loaders/dyld.c (vm_sym): Use strlcpy to pacify syntax
    checks.
    * libltdl/ltdl.c (try_dlopen): Likewise.
    
    Signed-off-by: Gary V. Vaughan <address@hidden>

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

Summary of changes:
 THANKS                 |    2 +-
 libltdl/loaders/dyld.c |    2 +-
 libltdl/ltdl.c         |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/THANKS b/THANKS
index 211ffe1..671f7c1 100644
--- a/THANKS
+++ b/THANKS
@@ -132,7 +132,7 @@
   Khem Raj                      address@hidden
   KO Myung-Hun                 address@hidden
   Kurt D. Zeilenga             address@hidden
-  Lawrence Velázquez          address@hidden
+  Lawrence Velázquez          address@hidden
   Lennart Poettering           address@hidden
   Lionel Landwerlin             address@hidden
   Maciej Helminiak             address@hidden
diff --git a/libltdl/loaders/dyld.c b/libltdl/loaders/dyld.c
index 7d7cd21..3ee7354 100644
--- a/libltdl/loaders/dyld.c
+++ b/libltdl/loaders/dyld.c
@@ -350,7 +350,7 @@ vm_sym (lt_user_data loader_data, lt_module module, const 
char *name)
 
   if (!nssym)
     {
-      strncpy (saveError, dylderror (LT__STRERROR (SYMBOL_NOT_FOUND)), 255);
+      strlcpy (saveError, dylderror (LT__STRERROR (SYMBOL_NOT_FOUND)), 255);
       saveError[255] = 0;
       if (!mh)
        {
diff --git a/libltdl/ltdl.c b/libltdl/ltdl.c
index 098f9a6..9c02afc 100644
--- a/libltdl/ltdl.c
+++ b/libltdl/ltdl.c
@@ -1240,7 +1240,7 @@ try_dlopen (lt_dlhandle *phandle, const char *filename, 
const char *ext,
          goto cleanup;
        }
 
-      strncpy (dir, canonical, dirlen);
+      strlcpy (dir, canonical, dirlen);
       dir[dirlen] = LT_EOS_CHAR;
 
       ++base_name;


hooks/post-receive
-- 
GNU Libtool



reply via email to

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