[riot-notifications] [RIOT-OS/RIOT] sys/oneway-malloc: export oneway_malloc() (#15474)
notifications at github.com
Thu Nov 19 21:22:30 CET 2020
> Does this interact with libc malloc as expected?
`malloc.h` shadows the libc `malloc.h`, so `syscalls.c` doesn't find `mallinfo()`.
But worse, it also shadows the libc functions, even though the one-way functions are declared `weak`, so `tests/malloc` can only do one round of allocations.
It looks like the `oneway_malloc` module is used by anything - there isn't even a test. So the build failure with libc was never noticed.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications