From owner-freebsd-current@FreeBSD.ORG Thu Oct 9 02:02:06 2008 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4205106568A for ; Thu, 9 Oct 2008 02:02:06 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from sippysoft.com (gk1.360sip.com [72.236.70.240]) by mx1.freebsd.org (Postfix) with ESMTP id 74C148FC1A for ; Thu, 9 Oct 2008 02:02:06 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from [192.168.54.128] (S0106001372fd1e07.vs.shawcable.net [70.71.2.169]) (authenticated bits=0) by sippysoft.com (8.13.8/8.13.8) with ESMTP id m99223eE012123 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 8 Oct 2008 19:02:05 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Message-ID: <48ED6619.5080102@FreeBSD.org> Date: Wed, 08 Oct 2008 19:02:01 -0700 From: Maxim Sobolev Organization: Sippy Software, Inc. User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Alexander Kabaev References: <48ED27EA.9020407@FreeBSD.org> <48ED3545.6030609@FreeBSD.org> <20081008192905.0b75b0a6@kan.dnsalias.net> <48ED5755.3000601@FreeBSD.org> <20081008211005.0fcb6442@kan.dnsalias.net> In-Reply-To: <20081008211005.0fcb6442@kan.dnsalias.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "current@freebsd.org" Subject: Re: dlsym(RTLD_NEXT) and weak symbols X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 02:02:06 -0000 Alexander Kabaev wrote: > We need to grab first non-weak symbol that matches or first weak symbol > if no non-weak alternatives are found. Yes, you are right. Now that I have taken a closer look the patch seems to DTRT. Thanks! -Maxim