This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFA/libiberty] Enhance FILENAME_CMP for Windows filesystems
- From: Eli Zaretskii <eliz at gnu dot org>
- To: dj at redhat dot com, gdb-patches at sourceware dot org, brobecker at adacore dot com, gcc-patches at gcc dot gnu dot org
- Date: Sun, 01 Apr 2007 06:03:41 +0300
- Subject: Re: [RFA/libiberty] Enhance FILENAME_CMP for Windows filesystems
- References: <20070328191845.GB3956@adacore.com> <200703281930.l2SJUYLW003949@greed.delorie.com> <20070328193743.GC3956@adacore.com> <20070328202443.GD3956@adacore.com> <ubqi97hiq.fsf@gnu.org> <20070331223959.GA23205@ednor.casa.cgf.cx>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Sat, 31 Mar 2007 18:39:59 -0400
> From: Christopher Faylor <cgf-use-the-mailinglist-please@sourceware.org>
>
> On Sat, Mar 31, 2007 at 02:57:01PM +0300, Eli Zaretskii wrote:
> >While I realize that the original FILENAME_CMP macro did the same, as
> >long as we are trying to do better, wouldn't it be nice if this
> >function also collapsed multiple consecutive slashes or backslashes?
>
> Joel already acknowledge that this was a possible future improvement.
>
> If this is done, please be sure to preserve two slashes at the beginning
> of a filename since Windows uses those.
Right, sorry I forgot to mention that.