From owner-freebsd-hackers Thu Aug 29 9:34: 4 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 18F8237B400 for ; Thu, 29 Aug 2002 09:34:02 -0700 (PDT) Received: from mail.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81BAB43E75 for ; Thu, 29 Aug 2002 09:34:01 -0700 (PDT) (envelope-from eischen@pcnet1.pcnet.com) Received: from localhost (eischen@localhost) by mail.pcnet.com (8.12.3/8.12.1) with ESMTP id g7TGQLbq007980; Thu, 29 Aug 2002 12:26:21 -0400 (EDT) Date: Thu, 29 Aug 2002 12:26:20 -0400 (EDT) From: Daniel Eischen To: Michael Lucas Cc: Jonathon McKitrick , freebsd-hackers@FreeBSD.ORG Subject: Re: Porting libc_r from -current to -stable In-Reply-To: <20020829100913.A22334@blackhelicopters.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 29 Aug 2002, Michael Lucas wrote: > On Thu, Aug 29, 2002 at 03:03:19PM +0100, Jonathon McKitrick wrote: > > On Thu, Aug 29, 2002 at 09:45:49AM -0400, Daniel Eischen wrote: > > | You're going to have to keep the hashtable method of locking > > | FILEs. > > > > So is this project much more complicated than simply resolving symbols and > > dropping unused calls? > > Absolutely. Fasten your seat belt, you're in for a ride. > > Of course, if you pull it off, you will win copious accolades. :-) Actually, it's not all that bad. Jonathon just got hung up in one area that is relatively easy to fix (-stable libc_r already contains the ability to lock FILEs). When you are porting it, try to make it easy to keep the two versions in sync. Feel free to change -current's libc_r to accomodate this (i.e., use macros or something for __sys_XXX so that you can easily switch between _thread_sys_XXX and __sys_XXX). -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message