On Wed, Feb 20, 2013 at 06:12:50PM +0100, Alexander Klauer 
<[email protected]> wrote:
> documentation of ev_set_allocator() because realloc(ptr, 0) is not
> required by C89 to have the same semantics as free(ptr) (see other
> thread).

True, but in the important cases, it is required to be equivalent to free
(ptr).

The problem is systems where realloc isn't C89-compliant, which the
documentation explains.

(And is the reason why the default allocator has a workaround).

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      [email protected]
      -=====/_/_//_/\_,_/ /_/\_\

_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Reply via email to