aboutsummaryrefslogtreecommitdiff
path: root/binutils/ar.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-10-15 16:50:47 +0000
committerIan Lance Taylor <ian@airs.com>1999-10-15 16:50:47 +0000
commitb059661ec638e9ca82292a0324616aa79942f7d4 (patch)
tree2371873ef16b87850e2f2aae92530040b234da7b /binutils/ar.c
parentc388dee89bc49429e1ed21a4fd4c3d5e9da21798 (diff)
downloadgdb-b059661ec638e9ca82292a0324616aa79942f7d4.zip
gdb-b059661ec638e9ca82292a0324616aa79942f7d4.tar.gz
gdb-b059661ec638e9ca82292a0324616aa79942f7d4.tar.bz2
* ar.c (normalize): Fix full_pathname code.
Diffstat (limited to 'binutils/ar.c')
-rw-r--r--binutils/ar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/ar.c b/binutils/ar.c
index bdc5103..ad9e59d 100644
--- a/binutils/ar.c
+++ b/binutils/ar.c
@@ -299,7 +299,7 @@ normalize (file, abfd)
const char *filename;
if (full_pathname)
- return filename;
+ return file;
filename = strrchr (file, '/');
if (filename != (char *) NULL)