Hello community,
here is the log from the commit of package redis for openSUSE:Factory checked in at 2015-05-18 22:24:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/redis (Old)
and /work/SRC/openSUSE:Factory/.redis.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "redis"
Changes:
--------
--- /work/SRC/openSUSE:Factory/redis/redis.changes 2015-04-03 14:34:46.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.redis.new/redis.changes 2015-05-18 22:24:11.000000000 +0200
@@ -1,0 +2,9 @@
+Sat May 16 22:03:00 UTC 2015 - Led
What's new in Redis 3.0 compared to Redis 2.8? diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/redis-3.0.0/COPYING new/redis-3.0.1/COPYING --- old/redis-3.0.0/COPYING 2015-04-01 16:01:44.000000000 +0200 +++ new/redis-3.0.1/COPYING 2015-05-05 11:01:19.000000000 +0200 @@ -1,4 +1,4 @@ -Copyright (c) 2006-2014, Salvatore Sanfilippo +Copyright (c) 2006-2015, Salvatore Sanfilippo All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/redis-3.0.0/deps/hiredis/async.c new/redis-3.0.1/deps/hiredis/async.c
--- old/redis-3.0.0/deps/hiredis/async.c 2015-04-01 16:01:44.000000000 +0200
+++ new/redis-3.0.1/deps/hiredis/async.c 2015-05-05 11:01:19.000000000 +0200
@@ -443,6 +443,7 @@
if (((redisReply*)reply)->type == REDIS_REPLY_ERROR) {
c->err = REDIS_ERR_OTHER;
snprintf(c->errstr,sizeof(c->errstr),"%s",((redisReply*)reply)->str);
+ c->reader->fn->freeObject(reply);
__redisAsyncDisconnect(ac);
return;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/redis-3.0.0/src/networking.c new/redis-3.0.1/src/networking.c
--- old/redis-3.0.0/src/networking.c 2015-04-01 16:01:44.000000000 +0200
+++ new/redis-3.0.1/src/networking.c 2015-05-05 11:01:19.000000000 +0200
@@ -797,7 +797,7 @@
* a context where calling freeClient() is not possible, because the client
* should be valid for the continuation of the flow of the program. */
void freeClientAsync(redisClient *c) {
- if (c->flags & REDIS_CLOSE_ASAP) return;
+ if (c->flags & REDIS_CLOSE_ASAP || c->flags & REDIS_LUA_CLIENT) return;
c->flags |= REDIS_CLOSE_ASAP;
listAddNodeTail(server.clients_to_close,c);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/redis-3.0.0/src/sds.c new/redis-3.0.1/src/sds.c
--- old/redis-3.0.0/src/sds.c 2015-04-01 16:01:44.000000000 +0200
+++ new/redis-3.0.1/src/sds.c 2015-05-05 11:01:19.000000000 +0200
@@ -71,7 +71,7 @@
return sdsnewlen("",0);
}
-/* Create a new sds string starting from a null termined C string. */
+/* Create a new sds string starting from a null terminated C string. */
sds sdsnew(const char *init) {
size_t initlen = (init == NULL) ? 0 : strlen(init);
return sdsnewlen(init, initlen);
@@ -557,7 +557,7 @@
* Example:
*
* s = sdsnew("AA...AA.a.aa.aHelloWorld :::");
- * s = sdstrim(s,"A. :");
+ * s = sdstrim(s,"Aa. :");
* printf("%s\n", s);
*
* Output will be just "Hello World".
@@ -1083,6 +1083,7 @@
int oldfree;
sdsfree(x);
+ sdsfree(y);
x = sdsnew("0");
sh = (void*) (x-(sizeof(struct sdshdr)));
test_cond("sdsnew() free/len buffers", sh->len == 1 && sh->free == 0);
@@ -1095,6 +1096,8 @@
test_cond("sdsIncrLen() -- content", x[0] == '0' && x[1] == '1');
test_cond("sdsIncrLen() -- len", sh->len == 2);
test_cond("sdsIncrLen() -- free", sh->free == oldfree-1);
+
+ sdsfree(x);
}
}
test_report()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/redis-3.0.0/src/sentinel.c new/redis-3.0.1/src/sentinel.c
--- old/redis-3.0.0/src/sentinel.c 2015-04-01 16:01:44.000000000 +0200
+++ new/redis-3.0.1/src/sentinel.c 2015-05-05 11:01:19.000000000 +0200
@@ -923,6 +923,7 @@
else if (flags & SRI_SENTINEL) table = master->sentinels;
sdsname = sdsnew(name);
if (dictFind(table,sdsname)) {
+ releaseSentinelAddr(addr);
sdsfree(sdsname);
errno = EBUSY;
return NULL;
@@ -1269,10 +1270,7 @@
slave = createSentinelRedisInstance(NULL,SRI_SLAVE,slaves[j]->ip,
slaves[j]->port, master->quorum, master);
releaseSentinelAddr(slaves[j]);
- if (slave) {
- sentinelEvent(REDIS_NOTICE,"+slave",slave,"%@");
- sentinelFlushConfig();
- }
+ if (slave) sentinelEvent(REDIS_NOTICE,"+slave",slave,"%@");
}
zfree(slaves);
@@ -1844,6 +1842,7 @@
atoi(port), ri->quorum, ri)) != NULL)
{
sentinelEvent(REDIS_NOTICE,"+slave",slave,"%@");
+ sentinelFlushConfig();
}
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/redis-3.0.0/src/sha1.c new/redis-3.0.1/src/sha1.c
--- old/redis-3.0.0/src/sha1.c 2015-04-01 16:01:44.000000000 +0200
+++ new/redis-3.0.1/src/sha1.c 2015-05-05 11:01:19.000000000 +0200
@@ -23,7 +23,7 @@
#include