-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Work around a negative timestamps bug on macOS. (#1305)
* Work around a negative timestamps bug on macOS. As described [here], macOS can sometimes return `timespec` values with negative `tv_nsecs` values. Adjust `timespec` values as needed to ensure that `tv_nsec` is in 0..1_000_000_000. [here]: rust-lang/rust#108277 (comment) * Make st_mtime etc. signed. * Define our own `Stat` on NetBSD, fix types for Apple. * More stat layout checks. * powerp64 defines a stat64 but doesn't use it. * Make `st_size` signed on s390x.
- Loading branch information
1 parent
40733be
commit 912db92
Showing
12 changed files
with
393 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.