Skip to content

Normalize TMPDIR for portable temporary helpers - #207

Merged
codeforester merged 1 commit into
mainfrom
bug/203-20260726-tmpdir-normalization
Jul 28, 2026
Merged

Normalize TMPDIR for portable temporary helpers#207
codeforester merged 1 commit into
mainfrom
bug/203-20260726-tmpdir-normalization

Conversation

@codeforester

Copy link
Copy Markdown
Collaborator

Summary

  • Preserve the root directory when TMPDIR=/ is used.
  • Resolve relative TMPDIR values to absolute paths and normalize trailing slashes.
  • Add regression coverage for root, relative, and trailing-slash TMPDIR values.

Issue

Fixes #203

Validation

  • ./tests/validate.sh (323 tests)

@codeforester
codeforester merged commit 41c81e0 into main Jul 28, 2026
3 checks passed
@codeforester
codeforester deleted the bug/203-20260726-tmpdir-normalization branch July 28, 2026 00:00
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.

Normalize TMPDIR for portable temporary helpers

1 participant