From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14369 invoked by alias); 13 Oct 2009 18:12:02 -0000 Received: (qmail 14360 invoked by uid 22791); 13 Oct 2009 18:12:02 -0000 X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_JMF_BR X-Spam-Check-By: sourceware.org Received: from mtaout7.012.net.il (HELO mtaout7.012.net.il) (84.95.2.19) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 13 Oct 2009 18:11:54 +0000 Received: from conversion-daemon.i-mtaout7.012.net.il by i-mtaout7.012.net.il (HyperSendmail v2007.08) id <0KRG00700T48ZC00@i-mtaout7.012.net.il> for gdb-patches@sourceware.org; Tue, 13 Oct 2009 20:11:49 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.70.84.229]) by i-mtaout7.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KRG004CZT7OVP10@i-mtaout7.012.net.il>; Tue, 13 Oct 2009 20:11:49 +0200 (IST) Date: Tue, 13 Oct 2009 18:12:00 -0000 From: Eli Zaretskii Subject: Re: shared lib dos filename style - one more question In-reply-to: <20091013052437.GJ5272@adacore.com> To: Joel Brobecker Cc: danny.backx@scarlet.be, drow@false.org, gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83my3vi2lg.fsf@gnu.org> References: <1253973110.10921.76.camel@pavilion> <1254946075.10921.178.camel@pavilion> <20091007201145.GA21557@caradoc.them.org> <1255017831.10921.197.camel@pavilion> <20091009173650.GB5272@adacore.com> <1255114781.10921.217.camel@pavilion> <20091010021849.GC5272@adacore.com> <1255378026.10921.251.camel@pavilion> <83ococicct.fsf@gnu.org> <20091013052437.GJ5272@adacore.com> 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: 2009-10/txt/msg00279.txt.bz2 > Date: Mon, 12 Oct 2009 22:24:37 -0700 > From: Joel Brobecker > Cc: danny.backx@scarlet.be, drow@false.org, gdb-patches@sourceware.org > > > > What should unixify() do ? > > > 1. /path/to/a -> /path/to/a > > > 2. \path/to/a -> /path/to/a > > > 3. \path\to\a -> /path/to/a > > > 4. c: -> . > > > 5. c:\path\to\a -> /path/to/a > > > > If unixify is supposed to support Windows file semantics, then the > > last 2 cases are incorrect, IMO. 4 should return "c:." and 5 > > "c:/path/to/a". > > Actually, I think in this case "unixify" would mean trying to make > sense out of Windows path on a Unix machine: The target sent us > c:\path\to\dll, and we're trying to find that dll on the host. What is the use-case in which this can happen?