From owner-freebsd-stable@FreeBSD.ORG Fri Jun 13 08:44:33 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3DC1C37B401 for ; Fri, 13 Jun 2003 08:44:33 -0700 (PDT) Received: from ohsmtp03.ogw.rr.com (ohsmtp03.ogw.rr.com [65.24.7.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8CC243FBF for ; Fri, 13 Jun 2003 08:44:31 -0700 (PDT) (envelope-from erik@smluc.org) Received: from xarx.localdomain (cpe-066-061-038-083.midsouth.rr.com [66.61.38.83]) by ohsmtp03.ogw.rr.com (8.12.5/8.12.2) with ESMTP id h5DFiH6E022723; Fri, 13 Jun 2003 11:44:23 -0400 (EDT) Received: from xarx.localdomain (localhost.localdomain [127.0.0.1]) by xarx.localdomain (8.12.8/8.12.8) with ESMTP id h5DFiGDj016645; Fri, 13 Jun 2003 10:44:16 -0500 Received: (from erik@localhost) by xarx.localdomain (8.12.8/8.12.8/Submit) id h5DFiG1B016643; Fri, 13 Jun 2003 10:44:16 -0500 Date: Fri, 13 Jun 2003 10:44:16 -0500 From: Erik Greenwald To: Garrett Rooney Message-ID: <20030613154416.GA16636@xarx.midsouth.rr.com> References: <20030613225435.X28265@nero.fastlane.net.au> <3EE9E9A5.4090702@electricjellyfish.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3EE9E9A5.4090702@electricjellyfish.net> User-Agent: Mutt/1.4.1i cc: Paul Reece cc: freebsd-stable@freebsd.org Subject: Re: problem with libc_r (uthread_close.c) in 4.8-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2003 15:44:34 -0000 On Fri, Jun 13, 2003 at 11:11:33AM -0400, Garrett Rooney wrote: > Paul Reece wrote: > > Umh, you want 'fclose(file)', right? Since file is a FILE *, not a file > descriptor. yes, the configure script for mysql is wrong... however, the proper behavior for close() if fed a junk value isn't a segfault, it's to set the errno and return a -1... compiling the test program without -libc_r lets it behave normally, with -libc_r causes sig11... (there's a ports pr on this from a couple days ago) > > g-arrett -- -Erik [http://math.smsu.edu/~erik] The opinions expressed by me are not necessarily opinions. In all probability, they are random rambling, and to be ignored. Failure to ignore may result in severe boredom or confusion. Shake well before opening. Keep Refrigerated.