apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfcl...@apache.org
Subject svn commit: r328072 - /apr/apr/trunk/build/jlibtool.c
Date Mon, 24 Oct 2005 13:57:22 GMT
Author: jfclere
Date: Mon Oct 24 06:57:16 2005
New Revision: 328072

URL: http://svn.apache.org/viewcvs?rev=328072&view=rev
Log:
basename() is defined in string.h, use libtool_basebase().

Modified:
    apr/apr/trunk/build/jlibtool.c

Modified: apr/apr/trunk/build/jlibtool.c
URL: http://svn.apache.org/viewcvs/apr/apr/trunk/build/jlibtool.c?rev=328072&r1=328071&r2=328072&view=diff
==============================================================================
--- apr/apr/trunk/build/jlibtool.c (original)
+++ apr/apr/trunk/build/jlibtool.c Mon Oct 24 06:57:16 2005
@@ -1259,7 +1259,7 @@
 }
 
 /* returns just a file's name without the path */
-const char *basename(const char *fullpath)
+const char *jlibtool_basename(const char *fullpath)
 {
     const char *name = strrchr(fullpath, '/');
 
@@ -1282,7 +1282,7 @@
     const char *name;
     const char *ext;
 
-    name = basename(fullpath);
+    name = jlibtool_basename(fullpath);
     ext = strrchr(name, '.');
 
     if (ext) {
@@ -1673,7 +1673,7 @@
             size_t len1, len2;
             len1 = strlen(cmd_data->arglist->vals[cmd_data->arglist->num - 1]);
 
-            static_lib_name = basename(cmd_data->static_name.install);
+            static_lib_name = jlibtool_basename(cmd_data->static_name.install);
             len2 = strlen(static_lib_name);
 
             tmp = malloc(len1 + len2 + 2);



Mime
View raw message