Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Sep 1998 22:48:27 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        cracauer@cons.org (Martin Cracauer)
Cc:        current@FreeBSD.ORG
Subject:   Re: Regarding fclose(NULL)
Message-ID:  <199809092248.PAA05352@usr02.primenet.com>
In-Reply-To: <19980909124126.A19691@cons.org> from "Martin Cracauer" at Sep 9, 98 12:41:26 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> I plan to change fclose so that it doesn't dump core on fclose(NULL). 
> 
> For reasoning and actual patch see PR bin/7742.

Don't do this.

The core dump is to provide you with sufficient debug information
to allow you to fix your broken program.

And it *is* your program which is broken, not fclose().


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809092248.PAA05352>