Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modifies LISPFINISH subr to use 2nd argument, if present, for exit status #525

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

nbriggs
Copy link
Collaborator

@nbriggs nbriggs commented Jan 19, 2025

Redesign of exit status handling, instead of overloading the FAST flag of (LOGOUT fast), add an optional 2nd argument, EXITSTATUS.

Retains compatability, with behavior unchanged, between new emulator and older sysouts which do not pass the second argument to LISPFINISH.

Newer sysouts, which pass the 2nd argument, will continue to work with older emulators though will not get the exit status set.

Full functionality requires updating LOGOUT and \LOGOUT0 in medley/sources/ADIR to accept the second argument for exit status.

Copy link
Member

@fghalasz fghalasz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on WSL/Ubuntu22.04. Works exactly as expected on sysout that incorporates updated Medley PR#1978.

(LOGOUT) and (LOGOUT T) continue to work as expected when using current Master sysout.

…atus

Redesign of exit status handling, instead of overloading the FAST flag
of (LOGOUT fast), add an optional 2nd argument, EXITSTATUS.

Retains compatability, with behavior unchanged, between new emulator
and older sysouts which do not pass the second argument to LISPFINISH.

Newer sysouts, which pass the 2nd argument, will continue to work with
older emulators though will not get the exit status set.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants