Mercurial > hg > graal-compiler
changeset 19921:ea280aa54d58
Fix arg limit on Mac
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Tue, 17 Mar 2015 11:22:56 -0700 |
parents | 7366593c0610 |
children | 815a87264cbb |
files | mxtool/mx.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mxtool/mx.py Mon Mar 16 17:37:32 2015 -0700 +++ b/mxtool/mx.py Tue Mar 17 11:22:56 2015 -0700 @@ -2823,7 +2823,7 @@ else: # Using just SC_ARG_MAX without extra downwards adjustment # results in "[Errno 7] Argument list too long" on MacOS. - commandLinePrefixAllowance -= 20000 + commandLinePrefixAllowance = 20000 syslimit = os.sysconf('SC_ARG_MAX') if syslimit == -1: syslimit = 262144 # we could use sys.maxint but we prefer a more robust smaller value