Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Sep 1998 01:38:24 +0200
From:      Eivind Eklund <eivind@yes.no>
To:        shmit@kublai.com, dg@root.com, "Wilhelm B. Kloke" <wb@yorikke.arb-phys.uni-dortmund.de>
Cc:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: bin/7742: fclose(3) dumps core on NULL
Message-ID:  <19980929013824.43804@follo.net>
In-Reply-To: <19980928182631.B307@kublai.com>; from Brian Cully on Mon, Sep 28, 1998 at 06:26:31PM -0400
References:  <199809281310.GAA09001@freefall.freebsd.org> <199809282114.OAA12880@implode.root.com> <19980928182631.B307@kublai.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 28, 1998 at 06:26:31PM -0400, Brian Cully wrote:
> On Mon, Sep 28, 1998 at 02:14:12PM -0700, David Greenman wrote:
> >    So that programmers will know about the problem and can fix the faulty
> > programs.
> 
> Why is free(NULL) permissable, but not fclose(NULL)?

'cause these things are documented that way in the ISO C standard.

Eivind.

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



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