[dev] [9base] sbrk vs malloc

From: Rendov Norra <tsobf242_AT_gmail.com>
Date: Fri, 4 Aug 2017 22:28:15 -0400

I've compiled 9base against musl, and dd spits errors about memory at
me if I try to invoke it. I looked at the source and determined sbrk
wasn't doing what it was supposed to. I don't know if this is to do
with my version of musl, or just musl in general, but I replaced sbrk
with malloc and it seems to work fine after recompilation.

Is there any reason sbrk shouldn't be changed?
Received on Sat Aug 05 2017 - 04:28:15 CEST

This archive was generated by hypermail 2.3.0 : Sat Aug 05 2017 - 04:36:27 CEST