-
Notifications
You must be signed in to change notification settings - Fork 67
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
Change old hiredis functions to make it work with hired is 1.0.0, Part II #52
Conversation
Looks like the Travis test runner failed. This is what I get when I run
|
Reviewed 1 of 1 files at r1. Comments from Reviewable |
Hope this commit get merged as soon as possbile because phpiredis does not pass make test without these modifications! |
Any updates on this PR ? |
Better late than never, they say 😅 |
FWIW, Arch just updated hiredis to 1.0.0 and this no longer builds a functional package even with the minor name change to 0.14. |
@gearhead I merged a more recent PR and it builds fine with Hiredis 1.0, I don't have an ArchLinux installation at hand though so could you try building phpiredis from the new
EDIT @gearhead I just noticed that the other PR I merged (#65) was actually yours 😃 |
Identical to #47 by @jbbrunsveld, but with the Git conflicts resolved.
Performed a PCRE regex search and replace in
phpiredis.c
of:Compiled with hiredis v0.13.3 and PHP 7.0.9. Without this patch, phpiredis failed to function (see #46) when compiled against hiredis v0.13.3.
#46 This removes the following old function aliases, use the new name now: (See hiredis Changelog)
redisReplyReaderCreate => redisReaderCreate
redisReplyReaderCreate => redisReaderCreate
redisReplyReaderFree => redisReaderFree
redisReplyReaderFeed => redisReaderFeed
redisReplyReaderGetReply => redisReaderGetReply
redisReplyReaderSetPrivdata => redisReaderSetPrivdata
redisReplyReaderGetObject => redisReaderGetObject
redisReplyReaderGetError => redisReaderGetError
This change is