This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] New substitute-path commands
On Tue, Jul 11, 2006 at 03:25:24PM -0700, Joel Brobecker wrote:
>> 2. Should the end of the rule be anchored to end of string or
>> directory separator?
>
>I was thinking about this, and almost ready to implement it. But
>then I thought about the Windows case. On cygwin, the directory
>separator is '/', but then some tools probably use '\' and we
>accept it. On MinGW, the standard directory separator is '\', but
>GCC at least uses forward slashes as far as I know.
FWIW, I'm perfectly fine with accepting only '/' on Cygwin but I
doubt that helps much.
cgf