From owner-freebsd-bugs Wed Sep 9 08:27:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA28022 for freebsd-bugs-outgoing; Wed, 9 Sep 1998 08:27:43 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA27907; Wed, 9 Sep 1998 08:26:09 -0700 (PDT) (envelope-from cracauer@FreeBSD.org) From: Martin Cracauer Received: (from cracauer@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id IAA28294; Wed, 9 Sep 1998 08:26:08 -0700 (PDT) Date: Wed, 9 Sep 1998 08:26:08 -0700 (PDT) Message-Id: <199809091526.IAA28294@freefall.freebsd.org> To: wb@yorikke.arb-phys.uni-dortmund.de, cracauer@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/7742 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: fclose(3) dumps core on NULL State-Changed-From-To: open-closed State-Changed-By: cracauer State-Changed-When: Wed Sep 9 17:24:02 MEST 1998 State-Changed-Why: Change request rejected. The error people are probably fall into is that they try to pass the handle they got from fopen to fclose "just in case there is some cleanup to make on this object". This is nonsense, since it will be a NULL pointer and does not point to any object at all. Insofar the manpage is right as well. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message