mirage / ocaml-solo5

Freestanding OCaml runtime
Other
100 stars 30 forks source link

nolibc: Fix posix_memalign() return values #82

Closed mato closed 4 years ago

mato commented 4 years ago

In the failure cases, posix_memalign() should return -1 and set errno rather than returning an errno value.

mato commented 4 years ago

Ignoring the FreeBSD 4.09.0 failure, it's a transient error.