mirror of
https://github.com/shaka-project/shaka-packager.git
synced 2026-04-02 03:11:13 +00:00
Some checks failed
Sync Labels / sync-labels (push) Has been cancelled
Update Issues / update-issues (push) Has been cancelled
Release / Settings (push) Has been cancelled
Release / release (push) Has been cancelled
Release / Compute latest release flag (push) Has been cancelled
Release / Update docs (push) Has been cancelled
Release / Update docker image (push) Has been cancelled
Release / Build (push) Has been cancelled
Release / Artifacts (push) Has been cancelled
Release / Update NPM (push) Has been cancelled
Fixes #1383 This solves an edge case where the target path of an atomic write is a relative path without a directory part. In this case, the temporary file was written to the system's tempdir before, which may then fail the atomic rename as the tempdir often is on a different device such as tmpfs.