"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tools/templates/moar/rakudo-m-build.c.windows" between
rakudo-2020.08.2.tar.gz and rakudo-2020.09.tar.gz

About: Rakudo is a compiler for the Perl 6 programming language.

rakudo-m-build.c.windows  (rakudo-2020.08.2):rakudo-m-build.c.windows  (rakudo-2020.09)
skipping to change at line 121 skipping to change at line 121
for (c = 0; c < exec_argc - 1; c++) { for (c = 0; c < exec_argc - 1; c++) {
// argvQuote leaves space for a trailing \0 // argvQuote leaves space for a trailing \0
arg_size = argvQuote(exec_argv[c], NULL); arg_size = argvQuote(exec_argv[c], NULL);
cmd_line = realloc(cmd_line, (cmd_line_size + arg_size) * sizeof(wchar_t )); cmd_line = realloc(cmd_line, (cmd_line_size + arg_size) * sizeof(wchar_t ));
argvQuote(exec_argv[c], cmd_line + cmd_line_size); argvQuote(exec_argv[c], cmd_line + cmd_line_size);
cmd_line_size += arg_size; cmd_line_size += arg_size;
cmd_line[cmd_line_size - 1] = L' '; cmd_line[cmd_line_size - 1] = L' ';
} }
cmd_line[cmd_line_size - 1] = 0; cmd_line[cmd_line_size - 1] = 0;
_wputenv_s(L"NQP_HOME", L"@c_escape(@nfp(@nqp_home@)@)@");
// Hack: Explicitly set a dummy RAKUDO_HOME, so the autogenerated CompUnitRe po // Hack: Explicitly set a dummy RAKUDO_HOME, so the autogenerated CompUnitRe po
// folder structure does not end up in the build directories parent folder. // folder structure does not end up in the build directories parent folder.
_wputenv_s(L"RAKUDO_HOME", L"@c_escape(@nfp(@base_dir@/gen/build_rakudo_home )@)@"); _wputenv_s(L"RAKUDO_HOME", L"@c_escape(@nfp(@base_dir@/gen/build_rakudo_home )@)@");
// Execute the command and wait for it to finish. // Execute the command and wait for it to finish.
ZeroMemory(&si, sizeof(si)); ZeroMemory(&si, sizeof(si));
si.cb = sizeof(si); si.cb = sizeof(si);
ZeroMemory(&pi, sizeof(pi)); ZeroMemory(&pi, sizeof(pi));
 End of changes. 1 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)