From owner-freebsd-current@FreeBSD.ORG Thu Oct 9 19:42:42 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 786591065698 for ; Thu, 9 Oct 2008 19:42:42 +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 27C078FC30 for ; Thu, 9 Oct 2008 19:42:41 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from [192.168.54.128] (S01060014bf8629c0.vc.shawcable.net [24.87.44.186]) (authenticated bits=0) by sippysoft.com (8.13.8/8.13.8) with ESMTP id m99Jgeac065851 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 9 Oct 2008 12:42:41 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Message-ID: <48EE5EB2.7010000@FreeBSD.org> Date: Thu, 09 Oct 2008 12:42:42 -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> <48ED6619.5080102@FreeBSD.org> In-Reply-To: <48ED6619.5080102@FreeBSD.org> 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 19:42:42 -0000 Maxim Sobolev wrote: > 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! Alexander, Please don't forget to check in this change. Thanks! -Maxim