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 have to rely on secondary sources and experience using various implementations that claim conformance.

--
Jakob Bohm, CIO, partner, WiseMo A/S. http://www.wisemo.com
Transformervej 29, 2730 Herlev, Denmark. direct: +45 31 13 16 10 <call:+4531131610>
This message is only for its intended recipient, delete if misaddressed.
WiseMo - Remote Service Management for PCs, Phones and Embedded
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to