From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17286 invoked by alias); 27 Nov 2001 18:16:01 -0000 Mailing-List: contact gdb-patches-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 17233 invoked from network); 27 Nov 2001 18:15:52 -0000 Received: from unknown (HELO miranda.axis.se) (193.13.178.2) by hostedprojects.ges.redhat.com with SMTP; 27 Nov 2001 18:15:52 -0000 Received: from ironmaiden.axis.se (ironmaiden.axis.se [10.13.8.120]) by miranda.axis.se (8.12.1/8.12.1/Debian -2) with ESMTP id fARIFhXX012915; Tue, 27 Nov 2001 19:15:43 +0100 Received: from axis.com (localhost [127.0.0.1]) by ironmaiden.axis.se (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id TAA11918; Tue, 27 Nov 2001 19:15:43 +0100 X-Authentication-Warning: ironmaiden.axis.se: Host localhost [127.0.0.1] claimed to be axis.com Message-ID: <3C03D84E.26E8B4F9@axis.com> Date: Wed, 14 Nov 2001 18:14:00 -0000 From: Orjan Friberg Organization: Axis Communications AB X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.19 i686) X-Accept-Language: en MIME-Version: 1.0 To: Eli Zaretskii CC: gdb-patches@sources.redhat.com Subject: Re: [RFC]: Solib search (Was: Re: Cross solib support; continued) References: <3BEAA3A0.586B3046@axis.com> <20011108110955.A12240@nevyn.them.org> <3C03AB51.DB27B3D4@axis.com> <3405-Tue27Nov2001175932+0200-eliz@is.elta.co.il> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2001-11/txt/msg00287.txt.bz2 Message-ID: <20011114181400.ol9HrWNhYOPT4BYg6oHMqsBxpFLr1_YuBvlqtUiIuuo@z> Eli Zaretskii wrote: > > This is not how one should test for an absoulte file name portably, > and incrementing in_pathname by one is not how you portably make it a > relative file name. Yes, I know (from my original post): > (It won't work with DOS based file > systems, as the dir separator could be '\\', but that would be easy to add.) Thanks for the suggestion on how to do it correctly though; I'll incorporate it. -- Orjan Friberg Axis Communications AB