From owner-freebsd-hackers Fri May 22 14:02:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA16116 for freebsd-hackers-outgoing; Fri, 22 May 1998 14:02:02 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from cimlogic.com.au (cimlog.lnk.telstra.net [139.130.51.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA16081 for ; Fri, 22 May 1998 14:01:46 -0700 (PDT) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.8.8/8.8.7) id HAA13138; Sat, 23 May 1998 07:07:16 +1000 (EST) (envelope-from jb) From: John Birrell Message-Id: <199805222107.HAA13138@cimlogic.com.au> Subject: Re: FreeBSD 2.2.6 + pthread == write() bug In-Reply-To: <199805221234.IAA08870@highwind.com> from HighWind Software Information at "May 22, 98 08:34:13 am" To: info@highwind.com (HighWind Software Information) Date: Sat, 23 May 1998 07:07:16 +1000 (EST) Cc: jb@cimlogic.com.au, freebsd-hackers@FreeBSD.ORG, support@highwind.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG HighWind Software Information wrote: > > >Is the code being compiled with -D_THREAD_SAFE ? > > Yep. Everything everytime. > > "-D_THREAD_SAFE" and "-D_REENTRANT" > > (Although -D_REENTRANT probably does nothing. It is important on other > O/S's. So, we left it in.) > > Also, linking with "-lc_r" OK, I think I see the problem. I'll send you a patch in separate mail to see if it fixes the problem. -- John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message