-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Hiredis 0.12.0 #288
Comments
ACK on everything in the |
Thanks @badboy!
Cheers! |
@badboy @michael-grunder : could you check #257 ? Thanks! |
@NanXiao Yes! I've got some time over the xmas to work on this and I'll test for sure. First glance, looks pretty good. :) |
@michael-grunder 🆗 Thanks! Merry xmas! :) |
#257 seems to not break anything, but will cover even more edge cases, so we should include it in a release. @michael-grunder How do we move on now? Get the mentioned things merged into |
How about:
|
Sounds like a good plan. |
Agreed. I'll start getting these merged. I would have earlier but the holidays happened 😃 |
@michael-grunder No one expects people to work on the holidays, so everything is fine (just I'm at a hacker congress, so I thought I could atleat do some hacking) |
All the PRs above look good (with changes where necessary). I've got them in a local |
f28872c Cleanup tabs and end of line whitespace Test/read/check those commits and keep suggesting a few more fixes/changes for the next version! |
How about including the following patch (or similar) to avoid the ugly warning:
Patch: diff --git i/fmacros.h w/fmacros.h
index 9e5fec0..1beee89 100644
--- i/fmacros.h
+++ w/fmacros.h
@@ -3,6 +3,7 @@
#if !defined(_BSD_SOURCE)
#define _BSD_SOURCE
+#define _DEFAULT_SOURCE
#endif
#if defined(__sun__) I'm not sure wether or not we still need the |
Better: diff --git i/fmacros.h w/fmacros.h
index 9e5fec0..19d7b21 100644
--- i/fmacros.h
+++ w/fmacros.h
@@ -1,8 +1,9 @@
#ifndef __HIREDIS_FMACRO_H
#define __HIREDIS_FMACRO_H
-#if !defined(_BSD_SOURCE)
+#if defined(__linux__)
#define _BSD_SOURCE
+#define _DEFAULT_SOURCE
#endif
#if defined(__sun__) Similar to how Redis does it: redis/redis@af45364 |
glibc 2.20 requires _DEFAULT_SOURCE and doesn't like _BSD_SOURCE alone Also see: - redis/redis#2189 - https://sourceware.org/glibc/wiki/Release/2.20#Deprecation_of__BSD_SOURCE_and__SVID_SOURCE_feature_macros Thanks to badboy for pointing out the problem at #288 (comment)
Any more requests before |
Creating new version tomorrow. Looking at the release page, the last proper release was over two years ago. Whoops. |
All good things are worth waiting for. (or in German: Was lange währt, wird endlich gut) |
0.12.0 is done as of https://github.com/redis/hiredis/tree/7b51834c165133cf6816b1991920a55bdc64ea78 We can add any bug fixes in 0.12.x versions and the next major release will be 1.0.0. |
oh, and big thanks to @michael-grunder and @badboy for doing all the real work of figuring out exactly what to add/fix and how to add/fix things out of the hiredis issues/PR backlog. :) |
Nice! Great work. |
At this point it's mostly open source gardening. You did all the real great work years ago. :) |
I'm happy to contribute here. Again thanks to all of you. |
Hey everybody,
I have created a
develop
branch for hiredis, and would like to get this going by going through a variety of outstanding issues and pull requests to see what we might want to get tested and incorporated for the next official release 😺!Things I'm pretty sure we should merge:
const char *
vs.char *
so it's clear that the string isn't going to be modified.Things we might want to merge:
free
was being used), but is not something I have personally run into.So that takes us back roughly a year for pull requests. I am going to familiarize myself with the
ng
branch next and see about moving that forward. I think however this is a good start. Most of these are very small and should be pretty safe.Cheers guys!
Mike
The text was updated successfully, but these errors were encountered: