From: Ian Lance Taylor Date: Fri, 15 Oct 1999 16:50:47 +0000 (+0000) Subject: * ar.c (normalize): Fix full_pathname code. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b059661ec638e9ca82292a0324616aa79942f7d4;p=binutils-gdb.git * ar.c (normalize): Fix full_pathname code. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 1273c36723e..a5cf84c4c70 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +1999-10-15 Ian Lance Taylor + + * ar.c (normalize): Fix full_pathname code. + 1999-10-08 Ben Elliston * binutils.texi: Some rewording and clarifications. diff --git a/binutils/ar.c b/binutils/ar.c index bdc5103872a..ad9e59d347e 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)