summaryrefslogtreecommitdiff
path: root/include/assert.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-10-05 11:59:21 -0400
committerRich Felker <dalias@aerifal.cx>2013-10-05 11:59:21 -0400
commita947d317a2769d90bdb19aa11942b7a0680051d5 (patch)
treed596eff6c40fd3ef448d5bee745ac0039d693033 /include/assert.h
parent543787039098c121917cb5f3e129d84b61afa61b (diff)
downloadmusl-a947d317a2769d90bdb19aa11942b7a0680051d5.tar.gz
fix failure of malloc to set errno on heap (brk) exhaustion
I wrongly assumed the brk syscall would set errno, but on failure it returns the old value of the brk rather than an error code.
Diffstat (limited to 'include/assert.h')
0 files changed, 0 insertions, 0 deletions