[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU Libtool branch, master, updated. v2.2.6-186-g948e6bb
From: |
Charles Wilson |
Subject: |
[SCM] GNU Libtool branch, master, updated. v2.2.6-186-g948e6bb |
Date: |
Sun, 21 Feb 2010 21:59:22 +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 948e6bbecd55a6388297d8f0a85396e02888ab09 (commit)
from 76735dcb937afb53790e0ef3d4df1622ba133e00 (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 948e6bbecd55a6388297d8f0a85396e02888ab09
Author: Charles Wilson <address@hidden>
Date: Sun Feb 21 16:56:44 2010 -0500
Guard against strerror()==NULL
* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src:main):
Check return value of strerror() using nonnull().
(func_emit_cwrapperexe_src:find_executable): Ditto.
(func_emit_cwrapperexe_src:chase_symlinks): Ditto.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 8 ++++++++
libltdl/config/ltmain.m4sh | 9 +++++----
2 files changed, 13 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 9d8ced9..295123a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2010-02-21 Charles Wilson <address@hidden>
+ Guard against strerror()==NULL
+ * libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src:main):
+ Check return value of strerror() using nonnull().
+ (func_emit_cwrapperexe_src:find_executable): Ditto.
+ (func_emit_cwrapperexe_src:chase_symlinks): Ditto.
+
+2010-02-21 Charles Wilson <address@hidden>
+
Document wrapper changes.
* NEWS: Indicate new feature and incompatibility.
* doc/libtool.texi [detailmenu]: Add reference to subsection
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 043d980..56b7497 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -3192,7 +3192,7 @@ EOF
/* failed to start process */
lt_debugprintf (__FILE__, __LINE__,
"(main) failed to launch target \"%s\": %s\n",
- lt_argv_zero, strerror (errno));
+ lt_argv_zero, nonnull (strerror (errno)));
return 127;
}
return rval;
@@ -3348,7 +3348,7 @@ find_executable (const char *wrapper)
/* empty path: current directory */
if (getcwd (tmp, LT_PATHMAX) == NULL)
lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",
- strerror (errno));
+ nonnull (strerror (errno)));
tmp_len = strlen (tmp);
concat_name =
XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
@@ -3373,7 +3373,8 @@ find_executable (const char *wrapper)
}
/* Relative path | not found in path: prepend cwd */
if (getcwd (tmp, LT_PATHMAX) == NULL)
- lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", strerror (errno));
+ lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",
+ nonnull (strerror (errno)));
tmp_len = strlen (tmp);
concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
memcpy (concat_name, tmp, tmp_len);
@@ -3425,7 +3426,7 @@ chase_symlinks (const char *pathspec)
{
lt_fatal (__FILE__, __LINE__,
"error accessing file \"%s\": %s",
- tmp_pathspec, strerror (errno));
+ tmp_pathspec, nonnull (strerror (errno)));
}
}
XFREE (tmp_pathspec);
hooks/post-receive
--
GNU Libtool
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU Libtool branch, master, updated. v2.2.6-186-g948e6bb,
Charles Wilson <=