about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorStepan Koltsov <stepan.koltsov@gmail.com>2017-06-12 17:19:40 +0300
committerStepan Koltsov <stepan.koltsov@gmail.com>2017-06-15 21:20:02 +0100
commit0c26b5998d269f58c513fc55ebfdf873be02cc99 (patch)
tree9f740fe3e8e09b8627dd152c74a3d7f4d8040ae0 /src/test/run-pass/thinlto
parent258ae6dd9b1a8ac97986852fc9f00f7687004ccb (diff)
downloadrust-0c26b5998d269f58c513fc55ebfdf873be02cc99.tar.gz
rust-0c26b5998d269f58c513fc55ebfdf873be02cc99.zip
Fix condvar.wait(distant future) return immediately on OSX
Fixes issue #37440: `pthread_cond_timedwait` on macOS Sierra seems
to overflow `ts_sec` parameter and returns immediately. To work
around this problem patch rounds timeout down to approximately 1000
years.

Patch also fixes overflow when converting `u64` to `time_t`.
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions