mirror of https://git.musl-libc.org/git/musl
Browse Source
this change is made with some reluctance, but i think it's for the best. correct programs must handle either behavior, so there is little advantage to having malloc(0) return NULL. and i managed to actually make the malloc code slightly smaller with this change.rs-1.0
2 changed files with 10 additions and 6 deletions
Loading…
Reference in new issue