From owner-freebsd-questions Sun Jun 6 23:21: 1 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ds9.dreamhaven.org (dt0f4nfc.san.rr.com [24.94.22.252]) by hub.freebsd.org (Postfix) with ESMTP id E1A1E15185 for ; Sun, 6 Jun 1999 23:20:59 -0700 (PDT) (envelope-from data@ds9.dreamhaven.org) Received: from data (helo=localhost) by ds9.dreamhaven.org with local-esmtp (Exim 2.12 #2) id 10qsmI-00074t-00 for freebsd-questions@freebsd.org; Sun, 6 Jun 1999 23:20:58 -0700 Date: Sun, 6 Jun 1999 23:20:43 -0700 (PDT) From: Bryce Newall To: freebsd@dreamhaven.net Cc: trv@dreamhaven.net Subject: Re: Possible C library bug? In-Reply-To: <19990607011554.A74753@dan.emsphone.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 7 Jun 1999, Dan Nelson wrote: > NOTES > fclose() does not handle NULL arguments; they will result in a > segmentation violation. This is intentional - it makes it easier > to make sure programs written under FreeBSD are bug free. This > behaviour is an implementation detail, and programs should not > rely upon it. Heh, doh... I should've checked the man page first. :) I don't think of that, though, since I don't really do any C programming myself. Thanks for clearing it up for us, though! ********************************************************************** * Bryce Newall * Email: data@dreamhaven.net * * WWW: http://www.dreamhaven.net/~data * ICQ: 32620929 * * "Insanity takes its toll. Please have exact change." * ********************************************************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message