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

Need to correctly handle unsigned time_t #51

Closed
wch opened this issue Apr 30, 2018 · 0 comments
Closed

Need to correctly handle unsigned time_t #51

wch opened this issue Apr 30, 2018 · 0 comments

Comments

@wch
Copy link
Member

wch commented Apr 30, 2018

On platforms where time_t is unsigned, I think that this line will have the wrong behavior when secs is negative. There's some info that situation here: https://www.gnu.org/software/libc/manual/html_node/Elapsed-Time.html

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

No branches or pull requests

1 participant