This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


> 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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]