From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4432 invoked by alias); 10 Jan 2008 14:01:22 -0000 Received: (qmail 4294 invoked by uid 22791); 10 Jan 2008 14:01:21 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 10 Jan 2008 14:00:58 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 6A5739811D; Thu, 10 Jan 2008 14:00:56 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 0CD66980E0; Thu, 10 Jan 2008 14:00:55 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1JCxxn-0004Fi-6T; Thu, 10 Jan 2008 09:00:55 -0500 Date: Thu, 10 Jan 2008 14:01:00 -0000 From: Daniel Jacobowitz To: Eli Zaretskii Cc: ARistovski@qnx.com, dje@google.com, gdb-patches@sources.redhat.com, gcc-patches@gcc.gnu.org, RMansfield@qnx.com Subject: Re: [patch] IS_ABSOLUTE_PATH to handle both DOS and POSIX path st yles Message-ID: <20080110140055.GA16061@caradoc.them.org> Mail-Followup-To: Eli Zaretskii , ARistovski@qnx.com, dje@google.com, gdb-patches@sources.redhat.com, gcc-patches@gcc.gnu.org, RMansfield@qnx.com References: <2F6320727174C448A52CEB63D85D11F40A76@nova.ott.qnx.com> <20080109194236.GA21299@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-12-11) 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/msg00235.txt.bz2 On Thu, Jan 10, 2008 at 06:12:45AM +0200, Eli Zaretskii wrote: > > You would still need to use substitute-path to handle drive names > > Why? can't filename_cmp handle that as well? I didn't think that statement through. You need to use substitute-path or "dir", because opening "c:\foo" on a Linux system isn't going to find anything useful. There's probably work to be done converting Windows slashes to POSIX slashes automatically. -- Daniel Jacobowitz CodeSourcery