From 7cc0c6cc8259954dad50305acf0ed2a5115132ba Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Tue, 11 Aug 2020 18:06:03 -0700 Subject: [PATCH] Test: Flush output stream on string flush --- src/platform/test/cinema-main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/platform/test/cinema-main.c b/src/platform/test/cinema-main.c index 2d1e470f7..9c004551f 100644 --- a/src/platform/test/cinema-main.c +++ b/src/platform/test/cinema-main.c @@ -226,6 +226,7 @@ void CIflush(struct StringBuilder* builder, FILE* out) { builder->repeat = 0; fputs(string, out); free(string); + fflush(out); } static bool parseCInemaArgs(int argc, char* const* argv) {