From owner-freebsd-arch@FreeBSD.ORG Wed Apr 30 18:16:09 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F52A37B401 for ; Wed, 30 Apr 2003 18:16:09 -0700 (PDT) Received: from gw.nectar.cc (gw.nectar.cc [208.42.49.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B08243F93 for ; Wed, 30 Apr 2003 18:16:08 -0700 (PDT) (envelope-from nectar@celabo.org) Received: from madman.celabo.org (madman.celabo.org [10.0.1.111]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "madman.celabo.org", Issuer "celabo.org CA" (verified OK)) by gw.nectar.cc (Postfix) with ESMTP id D7C434; Wed, 30 Apr 2003 20:16:07 -0500 (CDT) Received: by madman.celabo.org (Postfix, from userid 1001) id 323E378C4A; Wed, 30 Apr 2003 20:16:07 -0500 (CDT) Date: Wed, 30 Apr 2003 20:16:07 -0500 From: "Jacques A. Vidrine" To: "W. Josephson" Message-ID: <20030501011607.GK30097@madman.celabo.org> Mail-Followup-To: "Jacques A. Vidrine" , "W. Josephson" , Paul Richards , freebsd-arch@FreeBSD.org References: <20030430144149.GA7786@dragon.nuxi.com> <20030430002014.GA1190@dragon.nuxi.com> <20030430043303.GA46365@mero.morphisms.net> <20030430062647.GA82023@rot13.obsecurity.org> <20030430143121.GK39658@survey.codeburst.net> <20030430152708.GA26216@madman.celabo.org> <20030430153645.GL39658@survey.codeburst.net> <20030430164135.GB26508@madman.celabo.org> <20030430165422.GA62396@mero.morphisms.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030430165422.GA62396@mero.morphisms.net> X-Url: http://www.celabo.org/ User-Agent: Mutt/1.5.3i-ja.1 cc: freebsd-arch@FreeBSD.org Subject: Re: `Hiding' libc symbols (was Re: cvs commit: src/lib/libc/gen ...) X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2003 01:16:09 -0000 On Wed, Apr 30, 2003 at 12:54:22PM -0400, W. Josephson wrote: > It is, in fact, much better than having to litter the > code with underscores and guessing which ones have been forgotten > or added this time around. I don't like the underscores either. But they are just a symptom of the method we are using to hide symbols, and it is one reason why we haven't hidden many of them already. When someone cares enough to come up with a better solution, it will then no longer be an issue. > At least that has been my experience > when trying to maintain portable software that must compile on a > wide variety of Unix clones and Windows. You don't have to add any underscores in your application code. Cheers, -- Jacques Vidrine . NTT/Verio SME . FreeBSD UNIX . Heimdal nectar@celabo.org . jvidrine@verio.net . nectar@freebsd.org . nectar@kth.se