mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-18 01:27:05 +00:00
Advance past both parts of dos based <letter>: filepath prefix.
This commit is contained in:
parent
cc542d3bd4
commit
307ff1df12
@ -1,3 +1,10 @@
|
||||
2000-06-25 Alexander Aganichev <AAganichev@hypercom.com>
|
||||
|
||||
* ar.c (normalize): Advance past both characters in a DOS based
|
||||
<letter>: filepath prefix.
|
||||
(main): Likewise.
|
||||
* bucomm.c (make_tempname): Likewise.
|
||||
|
||||
2000-06-24 Nick Clifton <nickc@cygnus.com>
|
||||
|
||||
* objdump.c (usage): Fix description of --stabs switch.
|
||||
|
@ -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)
|
||||
|
@ -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 + 1;
|
||||
slash = filename + 2;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user