diff options
author | Nick Clifton <nickc@redhat.com> | 2000-06-25 16:30:27 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2000-06-25 16:30:27 +0000 |
commit | 307ff1df129bd324640f7c6361c2f78423dc88e7 (patch) | |
tree | 15aa395ebde96f9eb73e76fce0374c09079df67b /binutils/ar.c | |
parent | cc542d3bd4fe777533664233a8bdccffa535d124 (diff) | |
download | gdb-307ff1df129bd324640f7c6361c2f78423dc88e7.zip gdb-307ff1df129bd324640f7c6361c2f78423dc88e7.tar.gz gdb-307ff1df129bd324640f7c6361c2f78423dc88e7.tar.bz2 |
Advance past both parts of dos based <letter>: filepath prefix.
Diffstat (limited to 'binutils/ar.c')
-rw-r--r-- | binutils/ar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils/ar.c b/binutils/ar.c index 650092f..c8179d4 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 + 1; + filename = file + 2; } #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 + 1; + temp = program_name + 2; } #endif if (temp == NULL) |