Date: Tue, 25 Aug 1998 15:59:32 +0200 (MET DST) From: "Wilhelm B. Kloke" <wb@yorikke.arb-phys.uni-dortmund.de> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: bin/7742: fclose(3) dumps core on NULL Message-ID: <199808251359.PAA17757@yorikke.arb-phys.uni-dortmund.de>
next in thread | raw e-mail | index | archive | help
>Number: 7742 >Category: bin >Synopsis: fclose(3) dumps core on NULL >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Aug 25 07:10:01 PDT 1998 >Last-Modified: >Originator: Wilhelm B. Kloke >Organization: >Release: FreeBSD 3.0-CURRENT i386 >Environment: FreeBSD 3.0-CURRENT i386 >Description: I found for the 2nd time that installing a program failed for fclose coredumping when ivoked with NULL. (teTeX-0.9) >How-To-Repeat: Easily. >Fix: The man page doe not say anything on this. But it seems programming practice, closing a file after open, even if the open failed. So the library fclose should return gracefully when invoked with NULL. >Audit-Trail: >Unformatted: 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?199808251359.PAA17757>