From: Jack Jansen Date: Tue, 9 Jan 2001 22:24:06 +0000 (+0000) Subject: If we're not using GUSI the "keep open on unseen output" becomes the same as "always... X-Git-Tag: v2.1a1~363 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6ff228c6d2434d2d0e8483ba117b1303ab7b27d2;p=python If we're not using GUSI the "keep open on unseen output" becomes the same as "always keep open". --- diff --git a/Mac/Python/macmain.c b/Mac/Python/macmain.c index a96af4b446..298eb71a50 100644 --- a/Mac/Python/macmain.c +++ b/Mac/Python/macmain.c @@ -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);