From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8932 invoked by alias); 10 Jan 2008 04:13:35 -0000 Received: (qmail 8924 invoked by uid 22791); 10 Jan 2008 04:13:33 -0000 X-Spam-Check-By: sourceware.org Received: from romy.inter.net.il (HELO romy.inter.net.il) (213.8.233.24) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 10 Jan 2008 04:13:14 +0000 Received: from HOME-C4E4A596F7 (IGLD-80-230-36-232.inter.net.il [80.230.36.232]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id JWC28541 (AUTH halo1); Thu, 10 Jan 2008 06:12:24 +0200 (IST) Date: Thu, 10 Jan 2008 04:13:00 -0000 Message-Id: From: Eli Zaretskii To: Daniel Jacobowitz CC: ARistovski@qnx.com, dje@google.com, gdb-patches@sources.redhat.com, gcc-patches@gcc.gnu.org, RMansfield@qnx.com In-reply-to: <20080109194236.GA21299@caradoc.them.org> (message from Daniel Jacobowitz on Wed, 9 Jan 2008 14:42:36 -0500) Subject: Re: [patch] IS_ABSOLUTE_PATH to handle both DOS and POSIX path st yles Reply-to: Eli Zaretskii References: <2F6320727174C448A52CEB63D85D11F40A76@nova.ott.qnx.com> <20080109194236.GA21299@caradoc.them.org> 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: 2008-01/txt/msg00225.txt.bz2 > Date: Wed, 9 Jan 2008 14:42:36 -0500 > From: Daniel Jacobowitz > Cc: Aleksandar Ristovski , 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?