]> granicus.if.org Git - python/commitdiff
If we're not using GUSI the "keep open on unseen output" becomes the same as "always...
authorJack Jansen <jack.jansen@cwi.nl>
Tue, 9 Jan 2001 22:24:06 +0000 (22:24 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Tue, 9 Jan 2001 22:24:06 +0000 (22:24 +0000)
Mac/Python/macmain.c

index a96af4b446272f607cd46a5ea5b64849e978a35b..298eb71a50949d49f6caeeb23e8c0e05d413d183 100644 (file)
@@ -544,7 +544,9 @@ Py_Main(argc, argv)
 void
 PyMac_OutputSeen()
 {
+#ifdef USE_GUSI
        gusisioux_state = GUSISIOUX_STATE_LASTREAD;
+#endif
 }
 
 /*
@@ -567,11 +569,15 @@ PyMac_Exit(status)
                keep = 0;
                break;
        case POPT_KEEPCONSOLE_OUTPUT:
+#ifdef USE_GUSI
                if (gusisioux_state == GUSISIOUX_STATE_LASTWRITE ||
                                gusisioux_state == GUSISIOUX_STATE_UNKNOWN )
                        keep = 1;
                else
                        keep = 0;
+#else
+               keep = 1;
+#endif
                break;
        case POPT_KEEPCONSOLE_ERROR:
                keep = (status != 0);