Created
October 8, 2021 09:17
-
-
Save dstogov/65bf1f9be0db4a9a956d34e87256758c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c | |
index a2cc930b2f..bbab942b96 100644 | |
--- a/ext/opcache/ZendAccelerator.c | |
+++ b/ext/opcache/ZendAccelerator.c | |
@@ -4578,7 +4578,9 @@ finish: | |
static size_t preload_ub_write(const char *str, size_t str_length) | |
{ | |
- return fwrite(str, 1, str_length, stdout); | |
+ size_t ret = fwrite(str, 1, str_length, stdout); | |
+ fflush(stdout); | |
+ return ret; | |
} | |
static void preload_flush(void *server_context) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment