From b059661ec638e9ca82292a0324616aa79942f7d4 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 15 Oct 1999 16:50:47 +0000 Subject: [PATCH] * ar.c (normalize): Fix full_pathname code. --- binutils/ChangeLog | 4 ++++ binutils/ar.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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) -- 2.30.2