Skip to content

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.
@nbriggs nbriggs force-pushed the nhb-V2-logout-with-status-code branch from 6998589 to 7284512 Compare January 20, 2025 16:55
@nbriggs nbriggs merged commit 3c4d9f5 into master Jan 20, 2025
@nbriggs nbriggs deleted the nhb-V2-logout-with-status-code branch October 21, 2025 01:38
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.

3 participants