On Tue, Jun 05, 2012 at 04:39:01PM +0400, Andrey Chernov wrote: > > Actually, it says the following: > > > > RETURN VALUE > > > > The free() function shall not return a value. > > > > ERRORS > > > > No errors are defined. > > > > How much clearer do you want it? ;) > > It is pretty clear. > The function is not specified that errno shall not be modified. > You mstake errors with direct mention of not modified errno, as POSIX > requires. > > Moreover, standard metion "unsuccessful call" case for free() where errno > state is totally undefined.
BTW, this interpretation is not my invention, look at this discussion where Austin Groupd agrees that it is the case: http://austingroupbugs.net/view.php?id=385 -- http://ache.vniz.net/ _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"