diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1997-05-07 15:48:54 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1997-05-07 15:48:54 (GMT) |
commit | e44545fc0bfbd1b1303382016b9d44a3b2fd4bcf (patch) | |
tree | fcb71dcc57540f833f14717ba257a2f7ac9bceb3 /Mac/Python | |
parent | 3089b7eead9c76f0f054889f2f7a59029542e7bb (diff) | |
download | cpython-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/Python')
-rw-r--r-- | Mac/Python/macmain.c | 7 |
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; |