-
Notifications
You must be signed in to change notification settings - Fork 139
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
Replace ftime() by clock_gettime() #276
Conversation
Note that clock_gettime() seems to be unavailable on OS X.
Thank you for your pull request! I totally agree with you that
|
Thank you for your comments. I'll implement your suggestions. |
@mreininghaus Sorry that I didn't look into this for quite a while. Do you still want to edit your commit history? Especially your 3 merge commits nonlinearly complicates the commit graph. If you don't mind, I could git-cherry-pick your commits without the merge commits. The result will be like https://github.com/tueda/form/commits/mreininghaus-ftime-clock_gettime and this can be merged into the master branch. |
Feel free to do that. Sorry if I messed things up a bit. |
OK, I will try to merge it in that way. Thanks for your contribution! |
ftime()
is considered obsolete in the POSIX standard and not available anymore on some platforms, e.g. OpenBSD. Therefore, I replaced it byclock_gettime()
, however keepingftime()
as fallback.