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

Switch time_t and suseconds_t types to long on FreeBSD #627

Merged
merged 1 commit into from Jan 6, 2019

Conversation

meanphil
Copy link
Contributor

Currently time_t and suseconds_t are ints, which should be longs. This causes problems with various libraries, but especially anything that uses select()

See here: freebsd/freebsd-ports@ed7f235
And: typhoeus/ethon#98

@dcws
Copy link

dcws commented Dec 30, 2018

Come on folks, this is embarrassing this issue has been open for almost 2 years now (#544) it's a 6 line fix, which I provided in the description exactly what needed to be done. You now HAVE the pull request (for a trivial 6 line fix)... that itself has been open for 6 months.

In the 2 years since this trivial bug report was opened you have done 9 releases. Thankfully you haven't done any in the 6 months since you have had the pull request; not that I'd put it past you at this point (no, this isn't a challenge)

@larskanis larskanis merged commit 4ba53c5 into ffi:master Jan 6, 2019
@larskanis
Copy link
Member

Thank you, merged!

adam12 added a commit to adam12/ffi that referenced this pull request Oct 9, 2019
The types for time_t and suseconds_t should be long and not int.

Complementary of 4ba53c5

Related to ffi#544 and ffi#627
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.

None yet

3 participants