Skip to content

Where available, use getexecpath() to make $^X absolute - #24813

Open
brad0 wants to merge 1 commit into
Perl:bleadfrom
brad0:openbsd_getexecpath
Open

brad0 wants to merge 1 commit into
Perl:bleadfrom
brad0:openbsd_getexecpath

Conversation

@brad0

@brad0 brad0 commented Sep 13, 2026

Copy link
Copy Markdown

In Configure, check whether getexecpath() can be used to find the
absolute pathname of the executable. If so, set usegetexecpath in
config.sh and USE_GETEXECPATH in config.h. If this is set, then
use this approach in S_set_caret_X() to canonicalise $^X as an
absolute path. This approach works on OpenBSD.

  • This set of changes requires a perldelta entry, and I need help writing it.

In Configure, check whether getexecpath() can be used to find the
absolute pathname of the executable. If so, set usegetexecpath in
config.sh and USE_GETEXECPATH in config.h. If this is set, then
use this approach in S_set_caret_X() to canonicalise $^X as an
absolute path. This approach works on OpenBSD.
@brad0
brad0 force-pushed the openbsd_getexecpath branch from f4e8977 to 5174b5b Compare September 13, 2026 13:57
@brad0

brad0 commented Sep 15, 2026

Copy link
Copy Markdown
Author

@afresh1

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.

1 participant