* libltdl/ltdl.c (try_dlopen): Use strlen rather than LT_STRLEN on
an array that will never be NULL.
Signed-off-by: Eric Blake <ebb9@byu.net>
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+2009-11-02 Eric Blake <ebb9@byu.net>
+
+ Allow gcc builds with -Wall -Werror.
+ * libltdl/ltdl.c (try_dlopen): Use strlen rather than LT_STRLEN on
+ an array that will never be NULL.
+
2009-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix func_normal_abspath sed script for Solaris.
if (vtable)
{
/* name + "." + libext + NULL */
- archive_name = MALLOC (char, LT_STRLEN (name) + LT_STRLEN (libext) + 2);
+ archive_name = MALLOC (char, LT_STRLEN (name) + strlen (libext) + 2);
*phandle = (lt_dlhandle) lt__zalloc (sizeof (struct lt__handle));
if ((*phandle == NULL) || (archive_name == NULL))