mirror of
https://github.com/boostorg/build.git
synced 2026-02-15 13:02:11 +00:00
Initial implementation of dynamic response files.
This implements the ability for response file "@()" substitution to dynamically adjust to either expand the content or create the response file depending on the possible command line length. This should reduce the create of such response temp files improving build performance.
This commit is contained in:
@@ -154,7 +154,7 @@ int exec_check
|
||||
|
||||
return is_raw_cmd
|
||||
? EXEC_CHECK_OK
|
||||
: check_cmd_for_too_long_lines( command->value, MAXLINE, error_length,
|
||||
: check_cmd_for_too_long_lines( command->value, shell_maxline(), error_length,
|
||||
error_max_length );
|
||||
}
|
||||
|
||||
@@ -603,4 +603,9 @@ static int get_free_cmdtab_slot()
|
||||
exit( EXITBAD );
|
||||
}
|
||||
|
||||
int32_t shell_maxline()
|
||||
{
|
||||
return MAXLINE;
|
||||
}
|
||||
|
||||
# endif /* USE_EXECUNIX */
|
||||
|
||||
Reference in New Issue
Block a user