mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-03-25 16:00:24 +08:00
* ltdl.c (lt_dlopenext): tmp would be trashed if shlib_ext was
longer than 3 characters
This commit is contained in:
parent
176e4be3c5
commit
b579b04417
@ -1,3 +1,8 @@
|
||||
1999-02-03 Alexandre Oliva <oliva@dcc.unicamp.br>
|
||||
|
||||
* ltdl.c (lt_dlopenext): tmp would be trashed if shlib_ext was
|
||||
longer than 3 characters
|
||||
|
||||
1999-01-28 Gary V. Vaughan <gvaughan@oranda.demon.co.uk>
|
||||
|
||||
* ltmain.in: Reverted this change of Alexandre's from the
|
||||
|
@ -1245,8 +1245,9 @@ lt_dlopenext (filename)
|
||||
last_error = memory_error;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
tmp[len] = '\0';
|
||||
strcpy(tmp, filename);
|
||||
} else
|
||||
tmp[len] = '\0';
|
||||
strcat(tmp, shlib_ext);
|
||||
handle = lt_dlopen(tmp);
|
||||
if (handle) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user