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

Fix mktime64 failure on Travis and Linux #10

Open
schwern opened this issue Dec 5, 2015 · 0 comments
Open

Fix mktime64 failure on Travis and Linux #10

schwern opened this issue Dec 5, 2015 · 0 comments

Comments

@schwern
Copy link
Collaborator

schwern commented Dec 5, 2015

t/mktime64.t ............... # Failed test
# mktime64(140721847750144)
# have: 12344592500
# want: 12344678900

It's test 13 in t/mktime64.t.c which is this.

is_Int64( mktime64(&date), time, "mktime64(%lld)", time );

Time is set earlier as time = 12344678900LL;. So a value of 140721847750144 is absurd. It should be mktime64(12344678900). It's possible something is altering time.

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