From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8471 invoked by alias); 19 Apr 2006 08:29:14 -0000 Received: (qmail 8463 invoked by uid 22791); 19 Apr 2006 08:29:13 -0000 X-Spam-Check-By: sourceware.org Received: from ip127.bb146.pacific.net.hk (HELO mailhub.stlglobal.com) (202.64.146.127) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 19 Apr 2006 08:29:12 +0000 Received: from rccomp.stlglobal.com ([192.168.100.200]) by mailhub.stlglobal.com with esmtp (Exim 4.50) id 1FW83X-0002hP-O5; Wed, 19 Apr 2006 16:28:59 +0800 Message-ID: <4445F4D5.1030302@tausq.org> Date: Wed, 19 Apr 2006 08:29:00 -0000 From: Randolph Chung User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Eli Zaretskii CC: gdb-patches@sources.redhat.com Subject: Re: [rfa] Shared object matching for solib-som.c References: <44458D3D.4030506@tausq.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-04/txt/msg00256.txt.bz2 > Please don't use literal slash characters in GDB sources: they are > non-portable. AFAICS, you simply need to use lbasename here, on both > file names. I guess you mean "basename" instead of "lbasename". I could, and I started with that, although basename allocates memory so it's slightly more messy. While I agree with your portability comment, I hope nobody is crazy enough to use SOM outside of hpux :) Anyway, I'll redo this using basename. randolph -- Randolph Chung Debian GNU/Linux Developer, hppa/ia64 ports http://www.tausq.org/