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 8ec72ff + 73535c8 commit 9404621Copy full SHA for 9404621
common-exit.c
@@ -11,6 +11,13 @@ static void check_bug_if_BUG(void)
11
/* We wrap exit() to call common_exit() in git-compat-util.h */
12
int common_exit(const char *file, int line, int code)
13
{
14
+ /*
15
+ * Windows Filtering Platform driver provided by the security software
16
+ * may change buffer type of stdout from _IONBF to _IOFBF.
17
+ * It will no output without fflush manually.
18
+ */
19
+ fflush(stdout);
20
+
21
/*
22
* For non-POSIX systems: Take the lowest 8 bits of the "code"
23
* to e.g. turn -1 into 255. On a POSIX system this is
0 commit comments