This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] IS_ABSOLUTE_PATH to handle both DOS and POSIX path st yles
On Thu, Jan 10, 2008 at 06:12:45AM +0200, Eli Zaretskii wrote:
> > You would still need to use substitute-path to handle drive names
>
> Why? can't filename_cmp handle that as well?
I didn't think that statement through. You need to use
substitute-path or "dir", because opening "c:\foo" on a Linux system
isn't going to find anything useful.
There's probably work to be done converting Windows slashes to POSIX
slashes automatically.
--
Daniel Jacobowitz
CodeSourcery