On Mon, 28 Dec 2009, Jamie Lokier wrote:

> Aurelien Jarno wrote:
> > This fixes the loading of a stripped kernel with zero malloc disabled.
> 
> *Raises an eyebrow*
> 
> Even though there's different perspectives over whether qemu_malloc(0)
> should be allowed, inherited from ambiguity over malloc(0),
> realloc(p,0) has always had a standard, well-defined meaning.

No.
http://groups.google.com/group/comp.std.c/browse_thread/thread/4e9af8847613d71f/6f75ad22e0768a0b?q=realloc++group:comp.std.c#6f75ad22e0768a0b

> One which admittedly differs from malloc(0) :-)

-- 
mailto:av1...@comtv.ru


Reply via email to