On Wed, Apr 09, 2008 at 11:17:26PM +0200, Marc Lehmann <[EMAIL PROTECTED]> 
wrote:
> (it's actually the unix specification that requires this, btw., not C)

atcually,

   C89 4.10.3.4 "If size is zero and ptr is not a null pointer, the
   object it points to is freed."^

If a system can't get it right after 19 years of implementation practise
in C, it must be a *bsd system.

*sigh* this is frustrating. next release will have a workaround which would
also silence the valgrind warnings - one should tip them of, though, that
this shouldn't be reported by default, as it's not a leak.

-- 
                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