Workaround for bug in MSL and CWGUSI interaction that stopped the
"don't close window on exit" feature to work.
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 @@
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;