summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1997-05-07 15:48:54 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1997-05-07 15:48:54 (GMT)
commite44545fc0bfbd1b1303382016b9d44a3b2fd4bcf (patch)
treefcb71dcc57540f833f14717ba257a2f7ac9bceb3 /Mac
parent3089b7eead9c76f0f054889f2f7a59029542e7bb (diff)
downloadcpython-e44545fc0bfbd1b1303382016b9d44a3b2fd4bcf.zip
cpython-e44545fc0bfbd1b1303382016b9d44a3b2fd4bcf.tar.gz
cpython-e44545fc0bfbd1b1303382016b9d44a3b2fd4bcf.tar.bz2
Workaround for bug in MSL and CWGUSI interaction that stopped the
"don't close window on exit" feature to work.
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Python/macmain.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/Mac/Python/macmain.c b/Mac/Python/macmain.c
index bc02171..9e8fbc5 100644
--- a/Mac/Python/macmain.c
+++ b/Mac/Python/macmain.c
@@ -454,6 +454,13 @@ PyMac_Exit(status)
SIOUXSettings.standalone = 1;
SIOUXSettings.autocloseonquit = 0;
SIOUXSetTitle("\p\307terminated\310");
+#ifdef USE_MSL
+ /*
+ ** Temporary workaround: autocloseonquit clearing does not
+ ** currently work for the MSL/GUSI combo.
+ */
+ while(getchar() > 0);
+#endif
}
else
SIOUXSettings.autocloseonquit = 1;