Stebalien / tempfile

Temporary file library for rust
http://stebalien.com/projects/tempfile-rs
Apache License 2.0
1.15k stars 113 forks source link

fix: avoid *at functions for better compatibility #248

Closed Stebalien closed 1 year ago

Stebalien commented 1 year ago

As far as I can tell, *at syscalls are equivalent to their counterparts when they're called relative to the current working directory, so this shouldn't matter. We only need the *at syscall for renameat2 to pass some flags.

fixes #246

Stebalien commented 1 year ago

@sunfishcode could I get confirmation that this should be fine?

Stebalien commented 1 year ago

Uh, never mind. I submitted this PR before I saw #247.