> From: Jakob Bohm [mailto:jb-open...@wisemo.com]
> On 5/25/2012 5:30 PM, Ken Goldman wrote:
> > On 5/25/2012 3:33 AM, Jakob Bohm wrote:
> >
> >> ANSI C and POSIX free() is NOT required to handle free(NULL)
> >> as a NOP.
> >
> > I checked reputable sources (Plauger, Harbison and Steele, the ANSI
> > spec, and the IEEE POSIX spec).
> >
> > All agree that (e.g. ANSI)
> >
> > "If ptr is a null pointer, no action occurs."
> >
> >
> Which version of the ANSI Spec, and where did you get a copy?

I quoted from C99 in a recent message; can't remember where I got it (12 years 
ago ...), perhaps Techstreet. There are 'final drafts' of C99 and C11 legally 
available for free on the web I believe.

Various revisions of POSIX are available free for reference online; the current 
POSIX.1-2008 at http://pubs.opengroup.org/onlinepubs/9699919799/ and the older 
POSIX.1-2004 at http://pubs.opengroup.org/onlinepubs/009695399/

Regards,
                   jjf
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to