2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-13 00:12:11 +00:00

Don't strip out EOL and other whitespace from action output.

This commit is contained in:
Rene Rivera
2017-06-01 10:56:02 -05:00
parent 180981ccdf
commit e45e7f588f

View File

@@ -780,7 +780,7 @@ static void call_action_rule
/* Clean the output of control characters. */
for (; *output_i; ++output_i)
{
if (iscntrl(*output_i)) *output_i = '?';
if (iscntrl(*output_i) && !isspace(*output_i)) *output_i = '?';
}
lol_add( frame->args, list_new( command_output_obj ) );
}