]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/ltdl.c: Replace strdup with lt__strdup.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 31 Aug 2004 10:39:35 +0000 (10:39 +0000)
committerGary V. Vaughan <gary@gnu.org>
Tue, 31 Aug 2004 10:39:35 +0000 (10:39 +0000)
ChangeLog
libltdl/ltdl.c

index 5f20e27071e655b4da8be0b6c3201ba4ee1280ad..6ba135421818ff47ddfba427acfac4830b5b593f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-08-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * libltdl/ltdl.c: Replace strdup with lt__strdup.
+
 2004-08-30  Gary V. Vaughan  <gary@gnu.org>
 
        * config/ltmain.in: Double quote even $# for the sake of sh.test.
index 25fe418aa7da8b5aa745c0481ff0f6eb3ef3d33e..78efa112fb57ad7a13c1e5b33dbcdd4ec996fe7c 100644 (file)
@@ -817,7 +817,7 @@ load_deplibs (lt_dlhandle handle, char *deplibs)
                    sprintf (name, "lib%s", p+2);
                }
              else
-               name = strdup(p);
+               name = lt__strdup(p);
 
              if (!name)
                goto cleanup_names;
@@ -1172,7 +1172,7 @@ try_dlopen (lt_dlhandle *phandle, const char *filename)
                  && dlname
                  && (last_libname = strrchr (dlname, ' ')) != 0)
                {
-                 last_libname = strdup (last_libname + 1);
+                 last_libname = lt__strdup (last_libname + 1);
                  if (!last_libname)
                    {
                      ++errors;
@@ -1834,7 +1834,7 @@ lt_dlpath_insertdir (char **ppath, char *before, const char *dir)
       assert (!before);                /* BEFORE cannot be set without PPATH.  */
       assert (dir);            /* Without DIR, don't call this function!  */
 
-      *ppath = strdup (dir);
+      *ppath = lt__strdup (dir);
       if (*ppath == 0)
        ++errors;