Skip to content

fix: replace POSIX::tmpnam with File::Temp in csshX and csshX.iterm scripts#111

Open
stodolapatrik wants to merge 1 commit intobrockgr:masterfrom
stodolapatrik:fix/posix-tmpnam-csshx
Open

fix: replace POSIX::tmpnam with File::Temp in csshX and csshX.iterm scripts#111
stodolapatrik wants to merge 1 commit intobrockgr:masterfrom
stodolapatrik:fix/posix-tmpnam-csshx

Conversation

@stodolapatrik
Copy link
Copy Markdown

The error related to deprecated and unimplemented POSIX::tmpnam() occurred in both csshX and csshX.iterm scripts.

This change replaces all calls to POSIX::tmpnam() with the safer File::Temp module, in line with modern Perl best practices.

This prevents runtime errors caused by POSIX::tmpnam() being unimplemented in macOS Perl 5.34+.

Tested on both scripts locally, both now run without errors.

✅ Confirmed stable on macOS Sequoia Version 15.5 (Apple Silicon, Perl 5.34)

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