Skip to content

Fix realpath handling for URL fragments#4443

Open
pzinn wants to merge 1 commit into
Macaulay2:developmentfrom
pzinn:realpath
Open

Fix realpath handling for URL fragments#4443
pzinn wants to merge 1 commit into
Macaulay2:developmentfrom
pzinn:realpath

Conversation

@pzinn

@pzinn pzinn commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

This fixes two bugs:

  • one is realpath rejects # #4442 -- now toURL correctly splits the # part before feeding it to realpath
  • the other one, also mentioned in realpath rejects # #4442, is that the error code of realpath wasn't correctly sent back to M2.
  • I've added a couple of tests as well -- I hope they're not too specific, if they fail I can relax/remove them.

@d-torrance d-torrance added Core Issues involving the Core scripts. Interpreter labels Jun 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Core Issues involving the Core scripts. Interpreter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants