Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
6ff228c6
Commit
6ff228c6
authored
Jan 09, 2001
by
Jack Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
If we're not using GUSI the "keep open on unseen output" becomes the same as "always keep open".
parent
e7bfc915
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
Mac/Python/macmain.c
Mac/Python/macmain.c
+6
-0
No files found.
Mac/Python/macmain.c
View file @
6ff228c6
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment