• bjaideep's avatar
    AIX: Work around for malloc(0) behavior · 7c0f3f06
    bjaideep authored
    malloc(0) returning 0 is expected behavior on AIX but
    compiling with -D_LINUX_SOURCE_COMPAT, malloc(0) should
    return a valid pointer (which we do define for AIX). However,
    including cstdlib resets the behaviour of _LINUX_SOURCE_COMPAT.
    GCC bug: 79839
    
    R=jochen@chromium.org, titzer@chromium.org
    BUG=
    LOG=N
    
    Review-Url: https://codereview.chromium.org/2732743002
    Cr-Commit-Position: refs/heads/master@{#43647}
    7c0f3f06
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
promises-aplus Loading commit data...
test262 Loading commit data...
unittests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
bot_default.gyp Loading commit data...
bot_default.isolate Loading commit data...
default.gyp Loading commit data...
default.isolate Loading commit data...
optimize_for_size.gyp Loading commit data...
optimize_for_size.isolate Loading commit data...
perf.gyp Loading commit data...
perf.isolate Loading commit data...