Skip to content

Fix Issue#2151 MEDLEY-INIT-VARS now resets the LI pseudohost whenever it resets the value of LOGINHOST/DIR #2152

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

Merged
merged 1 commit into from
May 19, 2025

Conversation

fghalasz
Copy link
Member

MEDLEY-INIT-VARS now resets the LI pseudohost whenever it resets the value of LOGINHOST/DIR - providing PSEUDOHOSTS is loaded and LI pseudohost already exists. See Issue 2151 for more information.

… is resets the value of LOGINHOST/DIR - providing PSEUDOHOSTS is load and LI pseudohost already exists.
@fghalasz fghalasz requested review from masinter and rmkaplan May 15, 2025 07:33
@fghalasz fghalasz self-assigned this May 15, 2025
Copy link
Contributor

@pamoroso pamoroso left a comment

Choose a reason for hiding this comment

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

On Linux Mint 22.1 Cinnamon this change fixes issue #2151. Approved.

@@ -193,8 +190,12 @@
(IRM.HOST&DIR (MEDLEYDIR '"docs/dinfo"))
(IRM.DINFOGRAPH)
(DIRECTORIES (APPEND LISPUSERSDIRECTORIES LISPSOURCEDIRECTORIES))
[LOGINHOST/DIR (DIRECTORYNAME (OR (UNIX-GETENV "LOGINDIR")
(UNIX-GETENV "HOME"]
(LOGINHOST/DIR (LET [(LHD (DIRECTORYNAME (OR (UNIX-GETENV "LOGINDIR")
Copy link
Contributor

Choose a reason for hiding this comment

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

This doesn't appear to match what the PR description states. The LI pseudohost looks like it is reset anytime LOGINHOST/DIR is set. I.e., it isn't only when changed.
Does it matter?

Copy link
Member Author

Choose a reason for hiding this comment

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

Technically ypu are correct, should be set/reset. But practically, whenever MEDLEY-INIT-VARS is executed (after sysout, after makesys, during greet, etc) LOGINHOST/DIR has already been set and it is be reset. Only exception is somewhere in the loadup process where LOGINHOST/DIR is first set - but I am not sure whether by MEDLEY-INIT-VARS or otherwise.

@fghalasz fghalasz merged commit 2499b35 into master May 19, 2025
1 check passed
@fghalasz fghalasz deleted the fgh_fix-2151 branch May 19, 2025 16:46
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.

Pseudohost LI needs to be reset when LOGINHOST/DIR in reset in MEDLEY-INIT-VARS
3 participants