From 70b11f0f97c45b0e712c00d00d8f7f891ebab99e Mon Sep 17 00:00:00 2001 From: Jesse Noller Date: Tue, 31 Mar 2009 22:25:20 +0000 Subject: Merged revisions 70908 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r70908 | jesse.noller | 2009-03-31 17:20:35 -0500 (Tue, 31 Mar 2009) | 1 line Issue 5619: Pass MS CRT debug flags into subprocesses ........ --- Python/pythonrun.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Python/pythonrun.c') diff --git a/Python/pythonrun.c b/Python/pythonrun.c index f2cd819b1c..38db290ea7 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -1631,6 +1631,8 @@ void Py_FatalError(const char *msg) { fprintf(stderr, "Fatal Python error: %s\n", msg); + fflush(stderr); /* it helps in Windows debug build */ + #ifdef MS_WINDOWS { size_t len = strlen(msg); -- cgit v1.2.1