From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24592 invoked by alias); 1 Apr 2007 03:04:01 -0000 Received: (qmail 24582 invoked by uid 22791); 1 Apr 2007 03:03:59 -0000 X-Spam-Check-By: sourceware.org Received: from nitzan.inter.net.il (HELO nitzan.inter.net.il) (213.8.233.22) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 01 Apr 2007 04:03:57 +0100 Received: from HOME-C4E4A596F7 (IGLD-83-130-246-80.inter.net.il [83.130.246.80]) by nitzan.inter.net.il (MOS 3.7.3a-GA) with ESMTP id GKQ87278 (AUTH halo1); Sun, 1 Apr 2007 06:03:42 +0300 (IDT) Date: Sun, 01 Apr 2007 03:04:00 -0000 Message-Id: From: Eli Zaretskii To: dj@redhat.com, gdb-patches@sourceware.org, brobecker@adacore.com, gcc-patches@gcc.gnu.org In-reply-to: <20070331223959.GA23205@ednor.casa.cgf.cx> (message from Christopher Faylor on Sat, 31 Mar 2007 18:39:59 -0400) Subject: Re: [RFA/libiberty] Enhance FILENAME_CMP for Windows filesystems Reply-to: Eli Zaretskii References: <20070328191845.GB3956@adacore.com> <200703281930.l2SJUYLW003949@greed.delorie.com> <20070328193743.GC3956@adacore.com> <20070328202443.GD3956@adacore.com> <20070331223959.GA23205@ednor.casa.cgf.cx> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-04/txt/msg00000.txt.bz2 > Date: Sat, 31 Mar 2007 18:39:59 -0400 > From: Christopher Faylor > > 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.