Re: [patch] IS_ABSOLUTE_PATH to handle both DOS and POSIX path st yles

Eli Zaretskii
2008-01-10T04:13:35Z

> Date: Wed, 9 Jan 2008 14:42:36 -0500
> From: Daniel Jacobowitz <drow@false.org>
> Cc: Aleksandar Ristovski <ARistovski@qnx.com>, dje@google.com,
> gdb-patches@sources.redhat.com, gcc-patches@gcc.gnu.org,
> RMansfield@qnx.com
>
> I used to use a local version of filename_cmp which treated both / and
> \ as directory separators. Barring the strict POSIX filename support
> issue, which we've agreed can be handled by a user option, it worked
> well enough.

That would be an okay solution. (I always argued that treating file
names like simple strings is wrong.)

> You would still need to use substitute-path to handle drive names

Why? can't filename_cmp handle that as well?