Skip to content

Cover more cases for detecting ape loader #1022

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
Dec 17, 2023

Conversation

mrdomino
Copy link
Collaborator

Fixes a regression in GetProgramExecutableName on Linux against old loaders. In the loader case, /proc/self/exe gives the loader's path. We tried to detect this by checking for /usr/bin/ape. But that is only one of the possible places the loader could be.

Fixes a regression in GetProgramExecutableName on Linux against old
loaders. In the loader case, /proc/self/exe gives the loader's path.
We tried to detect this by checking for `/usr/bin/ape`. But that is
only one of the possible places the loader could be.
@pkulchenko
Copy link
Collaborator

@mrdomino, confirmed working; thank you!

@mrdomino mrdomino merged commit 77facc4 into jart:master Dec 17, 2023
@mrdomino mrdomino deleted the fix-progexec branch December 17, 2023 15:30
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