We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3c66a87 + 0f0feba commit 0f58bc0Copy full SHA for 0f58bc0
common-main.c
@@ -75,6 +75,13 @@ static void check_bug_if_BUG(void)
75
/* We wrap exit() to call common_exit() in git-compat-util.h */
76
int common_exit(const char *file, int line, int code)
77
{
78
+ /*
79
+ * Windows Filtering Platform driver provided by the security software
80
+ * may change buffer type of stdout from _IONBF to _IOFBF.
81
+ * It will no output without fflush manually.
82
+ */
83
+ fflush(stdout);
84
+
85
/*
86
* For non-POSIX systems: Take the lowest 8 bits of the "code"
87
* to e.g. turn -1 into 255. On a POSIX system this is
0 commit comments