Date: Fri, 13 Jun 2003 10:44:16 -0500 From: Erik Greenwald <erik@smluc.org> To: Garrett Rooney <rooneg@electricjellyfish.net> Cc: freebsd-stable@freebsd.org Subject: Re: problem with libc_r (uthread_close.c) in 4.8-STABLE Message-ID: <20030613154416.GA16636@xarx.midsouth.rr.com> In-Reply-To: <3EE9E9A5.4090702@electricjellyfish.net> References: <20030613225435.X28265@nero.fastlane.net.au> <3EE9E9A5.4090702@electricjellyfish.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 13, 2003 at 11:11:33AM -0400, Garrett Rooney wrote: > Paul Reece wrote: <snip> > > 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 <erik@smluc.org> [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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030613154416.GA16636>