Skip to content

Write hexapdf and lee output to Dir.tmpdir - #547

Merged
hsbt merged 1 commit into
mainfrom
claude/gifted-kowalevski-3d9a03
Oct 9, 2026
Merged

hsbt merged 1 commit into
mainfrom
claude/gifted-kowalevski-3d9a03

Conversation

@hsbt

@hsbt hsbt commented Oct 9, 2026

Copy link
Copy Markdown
Member

hexapdf and lee write their output files under a hard-coded /tmp. On Windows that path means \tmp at the root of the current drive, which usually does not exist, so both benchmarks fail with Errno::ENOENT.

This writes the files to Dir.tmpdir instead, which is still /tmp on Linux unless TMPDIR says otherwise. Both benchmarks now finish with --once under the interpreter and YJIT on mswin and on Linux.

Generated with Claude Code

On Windows /tmp is a directory at the root of the current drive, so both benchmarks fail with ENOENT unless someone has created it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hsbt
hsbt merged commit 8052e42 into main Oct 9, 2026
11 checks passed
@hsbt
hsbt deleted the claude/gifted-kowalevski-3d9a03 branch October 9, 2026 11:24
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