Projects
Eulaceura:Mainline:GA
rubygem-hiredis
_service:obs_scm:hiredis-0.6.3-bump-hiredis-to-...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:hiredis-0.6.3-bump-hiredis-to-1.0.0.patch of Package rubygem-hiredis
From 1a3b7d5f41caa35eeb664053d1cc956e071a0b8b Mon Sep 17 00:00:00 2001 From: artygus <hero@engineeriam.net> Date: Wed, 21 Oct 2020 14:39:19 +0300 Subject: [PATCH] bump hiredis to 1.0.0 --- ext/hiredis_ext/reader.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/ext/hiredis_ext/reader.c b/ext/hiredis_ext/reader.c index e0c9fb7..3cf6d0b 100644 --- a/ext/hiredis_ext/reader.c +++ b/ext/hiredis_ext/reader.c @@ -34,7 +34,7 @@ static void *createStringObject(const redisReadTask *task, char *str, size_t len return tryParentize(task,v); } -static void *createArrayObject(const redisReadTask *task, int elements) { +static void *createArrayObject(const redisReadTask *task, size_t elements) { volatile VALUE v = rb_ary_new2(elements); return tryParentize(task,v); } @@ -57,7 +57,9 @@ redisReplyObjectFunctions redisExtReplyObjectFunctions = { createStringObject, createArrayObject, createIntegerObject, + NULL, createNilObject, + NULL, freeObject };
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2