Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Sep 1998 08:26:08 -0700 (PDT)
From:      Martin Cracauer <cracauer@FreeBSD.ORG>
To:        wb@yorikke.arb-phys.uni-dortmund.de, cracauer@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG
Subject:   Re: bin/7742
Message-ID:  <199809091526.IAA28294@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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