Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Work around a negative timestamps bug on macOS. #1305

Merged
merged 8 commits into from
Feb 1, 2025

Conversation

sunfishcode
Copy link
Member

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.

@sunfishcode sunfishcode force-pushed the sunfishcode/negative-timestamps branch from b28c1a2 to bd42b86 Compare February 1, 2025 22:51
@sunfishcode sunfishcode merged commit 912db92 into main Feb 1, 2025
45 checks passed
@sunfishcode sunfishcode deleted the sunfishcode/negative-timestamps branch February 1, 2025 23:13
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