diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-04-18 11:31:41 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-04-18 11:31:41 -0700 |
commit | d45afdc6f7ffae61c5c9137761529da2841af20d (patch) | |
tree | dff12da568647b5ed6b51c0d11df6b4a5cf3c690 | |
parent | 52ffac8de7b9cdf3643871985e1c864238d355b4 (diff) |
be more flexible in check for keeping std* as low values; cttz/ctlz can add 512 bytes to initial allocations
-rw-r--r-- | src/library.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library.js b/src/library.js index 11f30a1c..ee01abcd 100644 --- a/src/library.js +++ b/src/library.js @@ -573,7 +573,7 @@ LibraryManager.library = { eof: false, ungotten: [] }; - assert(Math.max(_stdin, _stdout, _stderr) < 128); // make sure these are low, we flatten arrays with these + assert(Math.max(_stdin, _stdout, _stderr) < 1024); // make sure these are low, we flatten arrays with these {{{ makeSetValue(makeGlobalUse('_stdin'), 0, 1, 'void*') }}}; {{{ makeSetValue(makeGlobalUse('_stdout'), 0, 2, 'void*') }}}; {{{ makeSetValue(makeGlobalUse('_stderr'), 0, 3, 'void*') }}}; |