[patch] IS_ABSOLUTE_PATH to handle both DOS and POSIX path st yles
Daniel Jacobowitz
drow@false.org
Thu Jan 10 14:01:00 GMT 2008
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
More information about the Gdb-patches
mailing list