]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* ar.c (normalize): Fix full_pathname code.
authorIan Lance Taylor <ian@airs.com>
Fri, 15 Oct 1999 16:50:47 +0000 (16:50 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 15 Oct 1999 16:50:47 +0000 (16:50 +0000)
binutils/ChangeLog
binutils/ar.c

index 1273c36723e31904d3399e29b0f2dc6dbff3eff8..a5cf84c4c70fc94a537e31feaf6d78e464e7fc74 100644 (file)
@@ -1,3 +1,7 @@
+1999-10-15  Ian Lance Taylor  <ian@zembu.com>
+
+       * ar.c (normalize): Fix full_pathname code.
+
 1999-10-08  Ben Elliston  <bje@cygnus.com>
 
         * binutils.texi: Some rewording and clarifications.
index bdc5103872a025418eb1b43ec53f34b682e80326..ad9e59d347e0317e8331d2498e5fdd39e19ab258 100644 (file)
@@ -299,7 +299,7 @@ normalize (file, abfd)
   const char *filename;
 
   if (full_pathname)
-    return filename;
+    return file;
 
   filename = strrchr (file, '/');
   if (filename != (char *) NULL)