Skip to content

realpath: fix 'nonexistent/./' to be treated as invalid - #13164

Merged
cakebaker merged 1 commit into
uutils:mainfrom
LoukasPap:issue13152
Jun 28, 2026
Merged

cakebaker merged 1 commit into
uutils:mainfrom
LoukasPap:issue13152

Conversation

@LoukasPap

Copy link
Copy Markdown
Contributor

Fixes #13152

When MissingHandling is in Normal Mode and path ends with "/." or "/./" we purposefully call abs.metadata()? to raise the No such file or directory error.

@github-actions

Copy link
Copy Markdown

GNU testsuite comparison:

Skipping an intermittent issue tests/date/date-locale-hour (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/tail/tail-n0f (passes in this run but fails in the 'main' branch)
Skip an intermittent issue tests/pr/bounded-memory (was skipped on 'main', now failing)

@cakebaker
cakebaker merged commit fd0a494 into uutils:main Jun 28, 2026
175 checks passed
@cakebaker

Copy link
Copy Markdown
Contributor

Thanks for your PR!

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