Bug in dwarf2out.c:output_file_names()
Mike Stump
mrs@windriver.com
Tue Jan 23 03:22:00 GMT 2001
> From: Ulrich Drepper <drepper@redhat.com>
> Date: 23 Jan 2001 00:48:09 -0800
> With a bit of thinking I came up with the appended patch.
> + if (*s1 == '/' && *s2 == '/')
If '/' is speced as the only possible prefix than this is ok. If this
code has to work on Windows, where A:/foo A:\foo \foo are all
prefixes, then the code is wrong. Please look around for other places
where this test is done for the right incantation. (binutils/gcc) If
you wrap the use in is_absolute (name) you will make it easier to win,
if you don't feel like doing the work now.
More information about the Gcc
mailing list