msi: Flush stdout on program exit
On WIN32 if the reopen()ed stdout is not closed it can occasionally result in missing lines in the output file
This commit is contained in:
committed by
Michael Davidsaver
parent
c9c4eea0f8
commit
771ad6a442
@@ -215,6 +215,7 @@ int main(int argc,char **argv)
|
||||
if (opt_D) {
|
||||
printf("\n");
|
||||
}
|
||||
fflush(stdout);
|
||||
free(templateName);
|
||||
return opt_V & 2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user