Issue 5619: Pass MS CRT debug flags into subprocesses

This commit is contained in:
Jesse Noller 2009-03-31 22:20:35 +00:00
parent b7715865e7
commit 42f9b4e5b4
4 changed files with 12 additions and 0 deletions

View file

@ -1634,6 +1634,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);