-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
TimeVal's members are 64 bit, per the unix package #100
Conversation
Do we want to make a Hackage update for this? |
Sure, why not |
I wonder why this ever worked… did we just get extremely lucky that the bytes happened to be zeroed somehow? (Anyway, the new code will break again somewhat soon because Debian is transitioning to 64-bit time_t on 32-bit platforms but CLong is 32-bit. Wouldn't be surprised if nobody complains though because who runs xmonad on a 32-bit Debian these days?) |
xmonad doesn't use this API, and the OP said it took (iirc) several hundred calls before the upper bits went nonzero. |
Oh, also, the code just replicates |
I'm out of context, but if you raise an issue at https://github.com/haskell/unix/issues it would be most appreciated. |
It also looks like the Debian people are submitting patches upstream (and backporting them in Debian) throughout the t64 migration so it's quite possible they'd take care of it eventually anyway. |
We'll also need to use |
Actually, the impact is even more limited. Debian's i386 port is staying with 32-bit time_t because its main usecase is compatibility with old i386 binaries, and breaking ABI would defeat that purporse. So it's only the armel, armhf, and a few non-release architectures (whatever that means in Debian terminology) that are actually affected by the ABI change. So… it essentially only affects people with the Nokia N900 and similar old hardware… :-D |
Fixes #99.
Eventually we should update
waitForEvent
's type signature to match.