From owner-freebsd-bugs Mon Sep 28 16:39:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA24970 for freebsd-bugs-outgoing; Mon, 28 Sep 1998 16:39:15 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA24883 for ; Mon, 28 Sep 1998 16:38:47 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.1a/8.9.1) with ESMTP id BAA07087; Tue, 29 Sep 1998 01:38:30 +0200 (CEST) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id BAA26364; Tue, 29 Sep 1998 01:38:25 +0200 (MET DST) Message-ID: <19980929013824.43804@follo.net> Date: Tue, 29 Sep 1998 01:38:24 +0200 From: Eivind Eklund To: shmit@kublai.com, dg@root.com, "Wilhelm B. Kloke" Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/7742: fclose(3) dumps core on NULL References: <199809281310.GAA09001@freefall.freebsd.org> <199809282114.OAA12880@implode.root.com> <19980928182631.B307@kublai.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <19980928182631.B307@kublai.com>; from Brian Cully on Mon, Sep 28, 1998 at 06:26:31PM -0400 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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