~mirabilos/klibc/master

Viewing all changes in revision 2180.

  • Committer: Ben Hutchings
  • Date: 2021-04-28 02:43:03 UTC
  • Revision ID: git-v1:7f6626d12daa2f1efd9953d1f4ba2065348dc5cd
[klibc] malloc: Set errno on failure

malloc() is specified to set errno = ENOMEM on failure, so do that.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: