]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/ltdl.c (strdup): always use our own, because the
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Thu, 11 Mar 1999 02:50:13 +0000 (02:50 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Thu, 11 Mar 1999 02:50:13 +0000 (02:50 +0000)
standard strdup won't use lt_dlmalloc

ChangeLog
libltdl/ltdl.c

index c59ea688b9a6d6899062ea6df1ac518a973b949f..691f669fd8af21fd7a418a4191bb4d0e9c4d42ac 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
 
index 7053afb3461de4faa7c5ed5716e9ad5524556e20..23c5b7a2ab7ea1591e05414cb9ca32d7bd17d70f 100644 (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