mirror of
https://gitlab.com/ita1024/waf.git
synced 2025-01-27 02:30:41 +01:00
Enable per-OS @argfile limits
This commit is contained in:
parent
537d1fcd45
commit
092712f001
@ -52,4 +52,4 @@ NEW IN WAF 1.9
|
||||
instances can still define their own mappings to override the defaults, but in
|
||||
that case all mappings/precedences must be present. These features were not used in Waf 1.8.
|
||||
- Do not truncate the _task suffix from Task class names
|
||||
|
||||
- Task.exec_command will use @argfile when command-line limits are exceeded
|
||||
|
@ -199,7 +199,7 @@ class TaskBase(evil):
|
||||
|
||||
# workaround for command line length limit:
|
||||
# http://support.microsoft.com/kb/830473
|
||||
if not isinstance(cmd, str) and len(repr(cmd)) >= 8192:
|
||||
if not isinstance(cmd, str) and (len(repr(cmd)) >= 8192 if Utils.is_win32 else len(cmd) > 200000):
|
||||
cmd, args = self.split_argfile(cmd)
|
||||
try:
|
||||
(fd, tmp) = tempfile.mkstemp()
|
||||
|
Loading…
x
Reference in New Issue
Block a user