comparison Python/pythonrun.c @ 52604:5cf74137c0f8 legacy-trunk

Issue 5619: Pass MS CRT debug flags into subprocesses
author Jesse Noller <jnoller@gmail.com>
date Tue, 31 Mar 2009 22:20:35 +0000
parents 9b358eae532a
children 634502be8dcc
comparison
equal deleted inserted replaced
52603:1839b8553a2d 52604:5cf74137c0f8
1632 1632
1633 void 1633 void
1634 Py_FatalError(const char *msg) 1634 Py_FatalError(const char *msg)
1635 { 1635 {
1636 fprintf(stderr, "Fatal Python error: %s\n", msg); 1636 fprintf(stderr, "Fatal Python error: %s\n", msg);
1637 fflush(stderr); /* it helps in Windows debug build */
1638
1637 #ifdef MS_WINDOWS 1639 #ifdef MS_WINDOWS
1638 { 1640 {
1639 size_t len = strlen(msg); 1641 size_t len = strlen(msg);
1640 WCHAR* buffer; 1642 WCHAR* buffer;
1641 size_t i; 1643 size_t i;