aboutsummaryrefslogtreecommitdiff
path: root/std/buf_map.zig
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2018-06-04 14:09:31 -0400
committerAndrew Kelley <superjoe30@gmail.com>2018-06-04 14:09:31 -0400
commit32e0dfd4f0dab351a024e7680280343db5d7c43e (patch)
tree7e2adc8de09eeb4f8d8319979d2c343fbfe919ca /std/buf_map.zig
parentd21a1922eb5d76b9b0d0611eaeb42c91f83234ab (diff)
downloadzig-32e0dfd4f0dab351a024e7680280343db5d7c43e.tar.gz
zig-32e0dfd4f0dab351a024e7680280343db5d7c43e.zip
never call malloc with size 0
instead we return nullptr. this makes the behavior consistent across all platforms. closes #1044 closes #1045
Diffstat (limited to 'std/buf_map.zig')
0 files changed, 0 insertions, 0 deletions