]> granicus.if.org Git - jq/commit
Print an error message and abort in out-of-memory situations.
authorStephen Dolan <mu@netsoc.tcd.ie>
Tue, 18 Dec 2012 17:01:23 +0000 (17:01 +0000)
committerStephen Dolan <mu@netsoc.tcd.ie>
Tue, 18 Dec 2012 17:01:23 +0000 (17:01 +0000)
commit8dca3ef10d01fe116d34b2c4768b08e678d180b0
tree87663f6ab2cd9558785f546d46cbcdd01398ad63
parent04daafbde36ab696069a9df17ff85629574491c4
Print an error message and abort in out-of-memory situations.

Closes #43.

Tested with:

    ulimit -v 5000
    ./jq -n -c 'def f(x): x,f([x,x]); f(0)'
jv_alloc.c