mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-03-01 15:25:27 +08:00
* libltdl/ltdl.c (strdup): always use our own, because the
standard strdup won't use lt_dlmalloc
This commit is contained in:
parent
507c5bf602
commit
b96c596a21
@ -1,5 +1,8 @@
|
||||
1999-03-10 Alexandre Oliva <oliva@dcc.unicamp.br>
|
||||
|
||||
* libltdl/ltdl.c (strdup): always use our own, because the
|
||||
standard strdup won't use lt_dlmalloc
|
||||
|
||||
* ltconfig.in (dlfcn.h): function definition may cause warnings;
|
||||
define variable instead
|
||||
|
||||
|
@ -126,8 +126,6 @@ typedef struct lt_dlhandle_t {
|
||||
lt_ptr_t system; /* system specific data */
|
||||
} lt_dlhandle_t;
|
||||
|
||||
#if ! HAVE_STRDUP
|
||||
|
||||
#undef strdup
|
||||
#define strdup xstrdup
|
||||
|
||||
@ -145,8 +143,6 @@ strdup(str)
|
||||
return tmp;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#if ! HAVE_STRCHR
|
||||
|
||||
# if HAVE_INDEX
|
||||
|
Loading…
Reference in New Issue
Block a user