From: Alexandre Oliva Date: Thu, 11 Mar 1999 02:50:13 +0000 (+0000) Subject: * libltdl/ltdl.c (strdup): always use our own, because the X-Git-Tag: release-1-2f~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b96c596a21465622c8eb60126b11d34eeed7a708;p=thirdparty%2Flibtool.git * libltdl/ltdl.c (strdup): always use our own, because the standard strdup won't use lt_dlmalloc --- diff --git a/ChangeLog b/ChangeLog index c59ea688b..691f669fd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 1999-03-10 Alexandre Oliva + * 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 diff --git a/libltdl/ltdl.c b/libltdl/ltdl.c index 7053afb34..23c5b7a2a 100644 --- a/libltdl/ltdl.c +++ b/libltdl/ltdl.c @@ -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