From owner-freebsd-hackers Thu Aug 29 14:17:19 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 64DFA37B401 for ; Thu, 29 Aug 2002 14:17:16 -0700 (PDT) Received: from mail.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F93043E65 for ; Thu, 29 Aug 2002 14:17:15 -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 g7TL9gft018038; Thu, 29 Aug 2002 17:09:42 -0400 (EDT) Date: Thu, 29 Aug 2002 17:09:42 -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: <3D6E85D5.BF12289E@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: > Daniel Eischen wrote: > > -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. > > Whoops! That's what I get for assuming, based on the error > message, instead of trusting the code! > > I see the weak symbol. > > How is it that he's getting an "undefined symbol"?!? He's porting -current's lack of uthread_file.c ;-) In -current, flockfile and friends are in libc. That's not the case in -stable, so by removing uthread_file.c in -stable, you also remove the symbols within it. -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message