* libltdl/ltdl.c (strdup): always use our own, because the

standard strdup won't use lt_dlmalloc
This commit is contained in:
Alexandre Oliva 1999-03-11 02:50:13 +00:00 committed by Alexandre Oliva
parent 507c5bf602
commit b96c596a21
2 changed files with 3 additions and 4 deletions

View File

@ -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

View File

@ -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