problem with libc_r (uthread_close.c) in 4.8-STABLE
Ruslan Ermilov
ru at freebsd.org
Fri Jun 13 09:11:04 PDT 2003
On Fri, Jun 13, 2003 at 10:44:16AM -0500, Erik Greenwald wrote:
> 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)
>
I've just merged the fix for this into RELENG_4 (commit log is attached).
Please let me know the PR number, so I could close it.
Cheers,
--
Ruslan Ermilov Sysadmin and DBA,
ru at sunbay.com Sunbay Software Ltd,
ru at FreeBSD.org FreeBSD committer
-------------- next part --------------
An embedded message was scrubbed...
From: Ruslan Ermilov <ru at FreeBSD.org>
Subject: cvs commit: src/lib/libc_r/uthread uthread_close.c
Date: Fri, 13 Jun 2003 09:04:59 -0700 (PDT)
Size: 2386
Url: http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20030613/21b8a27a/attachment.eml
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20030613/21b8a27a/attachment.bin
More information about the freebsd-stable
mailing list