Skip to content

Improve path canonicalisation.#110

Open
dsalt wants to merge 2 commits into
joe-editor:mainfrom
dsalt:realpath
Open

Improve path canonicalisation.#110
dsalt wants to merge 2 commits into
joe-editor:mainfrom
dsalt:realpath

Conversation

@dsalt

@dsalt dsalt commented Apr 22, 2026

Copy link
Copy Markdown
Contributor
  • Convert flags for canonical() into an enum
  • Add flags for ~ expansion and full path
  • Do full pathname expansion (using realpath(3)), but retain the leafname (to avoid breaking symlink-breaking)

* Convert flags for canonical() into an enum
* Add flags for ~ expansion and full path
* Do full pathname expansion (using realpath(3)), but retain the leafname
  (to avoid breaking symlink-breaking)
@dsalt

dsalt commented Apr 22, 2026

Copy link
Copy Markdown
Contributor Author

This conflicts with 4855fb6: that has the full fix for (struct PW).file_prompt whereas this has a minimal fix.

@dsalt dsalt marked this pull request as ready for review April 25, 2026 13:43
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