* Fix ulimit parameters for wfShellExec when memory_limit is specified in 'm'
authorBrion Vibber <brion@users.mediawiki.org>
Sat, 26 Nov 2005 20:17:43 +0000 (20:17 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sat, 26 Nov 2005 20:17:43 +0000 (20:17 +0000)
commit5536dcb1f7a553438dc249d9c7658f483c75c685
tree375f8d8c28b03fddedea4659fa23c1697949d52c
parente0f1f62e1cfdc83a037495d248b69ffae8c15b6e
* Fix ulimit parameters for wfShellExec when memory_limit is specified in 'm'
With memory_limit of '50M', it got automatically turned into '50' in a
numeric context, which ended up passing *zero* kilobytes for ulimit.
This would make nothing able to run on Linux, things would just segfault.
RELEASE-NOTES
includes/GlobalFunctions.php