From owner-freebsd-hackers Thu Aug 29 12:53:26 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 AC07937B405 for ; Thu, 29 Aug 2002 12:53:17 -0700 (PDT) Received: from mail.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6720043E75 for ; Thu, 29 Aug 2002 12:52:33 -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 g7TJiOIR005352; Thu, 29 Aug 2002 15:44:24 -0400 (EDT) Date: Thu, 29 Aug 2002 15:44:24 -0400 (EDT) From: Daniel Eischen To: Terry Lambert Cc: Kenneth Culver , Jonathon McKitrick , freebsd-hackers@FreeBSD.ORG Subject: Re: Porting libc_r from -current to -stable In-Reply-To: <3D6E7467.2E0C454C@mindspring.com> 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, Terry Lambert wrote: > Kenneth Culver wrote: > > > I've volunteered to do this port, with the expectation that it's within my > > > ability. I'm just a bit over my head, but that's how I'll learn, right? > [ ... ] > > Just curious, but what does doing this port get you? > > In theory, it should mean that threaded code compiled for -stable > will then run on -current without modification, when someone > decides that -current is stable enough for the changeover. > > If the implementation of flockfile/ftrylockfile/funlockfile is > via a library exported symbol, then programs that are linked > shared should "just work", but it will take a lot of hackery > to implement these function in -stable without introducing a > -stable/-stable binary compatability problem, which is normally > deferred until later releases (there would be a libc version > number bump required, which isn't possible, because minor version > numbers aren't supported, and there's already a lot of -current > boxes out there). -stable already has flockfile and friends in both libc and libc_r. The only work in porting -current's libc_r to -stable in this case is to keep libc_r's uthread_file.c which implements them. -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message