From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10180 invoked by alias); 31 Mar 2007 22:40:06 -0000 Received: (qmail 10147 invoked by uid 22791); 31 Mar 2007 22:40:04 -0000 X-Spam-Check-By: sourceware.org Received: from pool-71-248-179-87.bstnma.fios.verizon.net (HELO cgf.cx) (71.248.179.87) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 31 Mar 2007 23:40:01 +0100 Received: by cgf.cx (Postfix, from userid 201) id 01F8D2B486; Sat, 31 Mar 2007 18:39:59 -0400 (EDT) Date: Sat, 31 Mar 2007 22:40:00 -0000 From: Christopher Faylor To: dj@redhat.com, gdb-patches@sourceware.org, Joel Brobecker , gcc-patches@gcc.gnu.org, Eli Zaretskii Subject: Re: [RFA/libiberty] Enhance FILENAME_CMP for Windows filesystems Message-ID: <20070331223959.GA23205@ednor.casa.cgf.cx> Mail-Followup-To: dj@redhat.com, gdb-patches@sourceware.org, Joel Brobecker , gcc-patches@gcc.gnu.org, Eli Zaretskii References: <20070328191845.GB3956@adacore.com> <200703281930.l2SJUYLW003949@greed.delorie.com> <20070328193743.GC3956@adacore.com> <20070328202443.GD3956@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.14 (2007-02-12) 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-03/txt/msg00382.txt.bz2 >On Wed, 28 Mar 2007 12:18:45 -0700, Joel Brobaker wrote: >>This is a modest improvement, since there are many other things we >>can do to enhance it (such as normalizing the path so that '//' and '/' >>are treated as equal for instance). But this paves the path for >>further improvements of that sort. ... 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. cgf