[haiku-development] Re: Help with memory allocation in WebKit JavaScriptCore

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 16 Aug 2007 12:06:20 +0200 CEST

Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx> wrote:
> The memset() is not necessary according to the specification. But
> instead of
> adding a special case to your port, rather add a posix_memalign()
> implementation to Haiku. The prototype goes to malloc.h, the
> implementation
> to src/system/libroot/posix/malloc/wrapper.cpp.

Definitely, even though it's stdlib.h, not malloc.h :-)
Jérôme already added that function in the mean time.

Bye,
   Axel.


Other related posts: