aboutsummaryrefslogtreecommitdiff
path: root/binutils/ar.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-06-26 23:15:58 +0000
committerAlan Modra <amodra@gmail.com>2000-06-26 23:15:58 +0000
commita0c0ddf7e8b13d20ec9990127ad5cc0767308ac2 (patch)
tree35ffa5ce3f90f2cbef73d90ec9bfa066f224460f /binutils/ar.c
parent7c03c75e90b0285da390f0f2b0bc10a145aaf107 (diff)
downloadgdb-a0c0ddf7e8b13d20ec9990127ad5cc0767308ac2.zip
gdb-a0c0ddf7e8b13d20ec9990127ad5cc0767308ac2.tar.gz
gdb-a0c0ddf7e8b13d20ec9990127ad5cc0767308ac2.tar.bz2
Revert incorrect 2000-06-25 patch.
Diffstat (limited to 'binutils/ar.c')
-rw-r--r--binutils/ar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils/ar.c b/binutils/ar.c
index c8179d4..650092f 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)