We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ff38fd commit 396926fCopy full SHA for 396926f
1 file changed
core/shared/platform/linux/platform_init.c
@@ -28,6 +28,7 @@ os_printf(const char *format, ...)
28
ret += BH_VPRINTF(format, ap);
29
#endif
30
va_end(ap);
31
+ fflush(NULL);
32
33
return ret;
34
}
@@ -36,7 +37,9 @@ int
36
37
os_vprintf(const char *format, va_list ap)
38
{
39
#ifndef BH_VPRINTF
- return vprintf(format, ap);
40
+ int ret = vprintf(format, ap);
41
42
+ return ret;
43
#else
44
return BH_VPRINTF(format, ap);
45
0 commit comments