Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jun 1999 23:20:43 -0700 (PDT)
From:      Bryce Newall <data@dreamhaven.net>
To:        freebsd@dreamhaven.net
Cc:        trv@dreamhaven.net
Subject:   Re: Possible C library bug?
Message-ID:  <Pine.NEB.4.10.9906062320020.99176-100000@ds9.dreamhaven.net>
In-Reply-To: <19990607011554.A74753@dan.emsphone.com>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.4.10.9906062320020.99176-100000>