From a0c0ddf7e8b13d20ec9990127ad5cc0767308ac2 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 26 Jun 2000 23:15:58 +0000 Subject: [PATCH] Revert incorrect 2000-06-25 patch. --- binutils/ChangeLog | 5 +++++ binutils/ar.c | 4 ++-- binutils/bucomm.c | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 53d35509abd..44ee5dc392d 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2000-06-27 Alan Modra + + * ar.c: Revert incorrect 2000-06-25 patch. + * bucomm.c: Likewise. + 2000-06-25 Mark Elbrecht * rdcoff (parse_coff_symbol): Treat GNU weak symbols as external. diff --git a/binutils/ar.c b/binutils/ar.c index c8179d469b3..650092f449c 100644 --- a/binutils/ar.c +++ b/binutils/ar.c @@ -310,7 +310,7 @@ normalize (file, abfd) if (filename == NULL || (bslash != NULL && bslash > filename)) filename = bslash; if (filename == NULL && file[0] != '\0' && file[1] == ':') - filename = file + 2; + filename = file + 1; } #endif if (filename != (char *) NULL) @@ -395,7 +395,7 @@ main (argc, argv) if (temp == NULL || (bslash != NULL && bslash > temp)) temp = bslash; if (temp == NULL && program_name[0] != '\0' && program_name[1] == ':') - temp = program_name + 2; + temp = program_name + 1; } #endif if (temp == NULL) diff --git a/binutils/bucomm.c b/binutils/bucomm.c index a40a599ee35..86c327fd433 100644 --- a/binutils/bucomm.c +++ b/binutils/bucomm.c @@ -222,7 +222,7 @@ make_tempname (filename) if (slash == NULL || (bslash != NULL && bslash > slash)) slash = bslash; if (slash == NULL && filename[0] != '\0' && filename[1] == ':') - slash = filename + 2; + slash = filename + 1; } #endif -- 2.30.2