mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-27 06:09:57 +08:00
* libltdl/ltdl.c (load_deplibs): Insert missing 1st argument to
LT_EMALLOC.
This commit is contained in:
parent
11fdf927b4
commit
3539a1bf85
@ -1,3 +1,8 @@
|
||||
2001-08-05 Gary V. Vaughan <gary@gnu.org>
|
||||
|
||||
* libltdl/ltdl.c (load_deplibs): Insert missing 1st argument to
|
||||
LT_EMALLOC.
|
||||
|
||||
2001-08-05 Tim Van Holder <tim.van.holder@pandora.be>
|
||||
|
||||
* ltdl.m4: Canonicalize descriptive text used with
|
||||
|
@ -2326,8 +2326,9 @@ load_deplibs (handle, deplibs)
|
||||
if (strncmp(p, "-l", 2) == 0)
|
||||
{
|
||||
size_t name_len = 3+ /* "lib" */ LT_STRLEN (p + 2);
|
||||
name = LT_EMALLOC (1+ name_len);
|
||||
sprintf (name, "lib%s", p+2);
|
||||
name = LT_EMALLOC (char, 1+ name_len);
|
||||
if (name)
|
||||
sprintf (name, "lib%s", p+2);
|
||||
}
|
||||
else
|
||||
name = lt_estrdup(p);
|
||||
|
Loading…
Reference in New Issue
Block a user