From b96c596a21465622c8eb60126b11d34eeed7a708 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Thu, 11 Mar 1999 02:50:13 +0000 Subject: [PATCH] * libltdl/ltdl.c (strdup): always use our own, because the standard strdup won't use lt_dlmalloc --- ChangeLog | 3 +++ libltdl/ltdl.c | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) 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 -- 2.47.3