A problem with replication with multiple slaves connectiong to a single master fixed. It was due to a typo, and reported on github by the user micmac. Also the copyright year fixed from many files.

This commit is contained in:
antirez 2010-02-19 11:23:57 +01:00
parent ce8330208a
commit 12d090d2d0
20 changed files with 21 additions and 21 deletions

View File

@ -1,6 +1,6 @@
/* adlist.c - A generic doubly linked list implementation /* adlist.c - A generic doubly linked list implementation
* *
* Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com> * Copyright (c) 2006-2010, Salvatore Sanfilippo <antirez at gmail dot com>
* All rights reserved. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without

View File

@ -1,6 +1,6 @@
/* adlist.h - A generic doubly linked list implementation /* adlist.h - A generic doubly linked list implementation
* *
* Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com> * Copyright (c) 2006-2010, Salvatore Sanfilippo <antirez at gmail dot com>
* All rights reserved. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without

2
ae.c
View File

@ -2,7 +2,7 @@
* for the Jim's event-loop (Jim is a Tcl interpreter) but later translated * for the Jim's event-loop (Jim is a Tcl interpreter) but later translated
* it in form of a library for easy reuse. * it in form of a library for easy reuse.
* *
* Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com> * Copyright (c) 2006-2010, Salvatore Sanfilippo <antirez at gmail dot com>
* All rights reserved. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without

2
ae.h
View File

@ -2,7 +2,7 @@
* for the Jim's event-loop (Jim is a Tcl interpreter) but later translated * for the Jim's event-loop (Jim is a Tcl interpreter) but later translated
* it in form of a library for easy reuse. * it in form of a library for easy reuse.
* *
* Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com> * Copyright (c) 2006-2010, Salvatore Sanfilippo <antirez at gmail dot com>
* All rights reserved. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without

View File

@ -1,5 +1,5 @@
/* Linux epoll(2) based ae.c module /* Linux epoll(2) based ae.c module
* Copyright (C) 2009 Salvatore Sanfilippo - antirez@gmail.com * Copyright (C) 2009-2010 Salvatore Sanfilippo - antirez@gmail.com
* Released under the BSD license. See the COPYING file for more info. */ * Released under the BSD license. See the COPYING file for more info. */
#include <sys/epoll.h> #include <sys/epoll.h>

View File

@ -1,5 +1,5 @@
/* Select()-based ae.c module /* Select()-based ae.c module
* Copyright (C) 2009 Salvatore Sanfilippo - antirez@gmail.com * Copyright (C) 2009-2010 Salvatore Sanfilippo - antirez@gmail.com
* Released under the BSD license. See the COPYING file for more info. */ * Released under the BSD license. See the COPYING file for more info. */
#include <string.h> #include <string.h>

2
anet.c
View File

@ -1,6 +1,6 @@
/* anet.c -- Basic TCP socket stuff made a bit less boring /* anet.c -- Basic TCP socket stuff made a bit less boring
* *
* Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com> * Copyright (c) 2006-2010, Salvatore Sanfilippo <antirez at gmail dot com>
* All rights reserved. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without

2
anet.h
View File

@ -1,6 +1,6 @@
/* anet.c -- Basic TCP socket stuff made a bit less boring /* anet.c -- Basic TCP socket stuff made a bit less boring
* *
* Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com> * Copyright (c) 2006-2010, Salvatore Sanfilippo <antirez at gmail dot com>
* All rights reserved. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without

2
dict.c
View File

@ -5,7 +5,7 @@
* tables of power of two in size are used, collisions are handled by * tables of power of two in size are used, collisions are handled by
* chaining. See the source code for more information... :) * chaining. See the source code for more information... :)
* *
* Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com> * Copyright (c) 2006-2010, Salvatore Sanfilippo <antirez at gmail dot com>
* All rights reserved. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without

2
dict.h
View File

@ -5,7 +5,7 @@
* tables of power of two in size are used, collisions are handled by * tables of power of two in size are used, collisions are handled by
* chaining. See the source code for more information... :) * chaining. See the source code for more information... :)
* *
* Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com> * Copyright (c) 2006-2010, Salvatore Sanfilippo <antirez at gmail dot com>
* All rights reserved. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without

View File

@ -1,7 +1,7 @@
/* The following is the NetBSD libc qsort implementation modified in order to /* The following is the NetBSD libc qsort implementation modified in order to
* support partial sorting of ranges for Redis. * support partial sorting of ranges for Redis.
* *
* Copyright(C) 2009 Salvatore Sanfilippo. All rights reserved. * Copyright(C) 2009-2010 Salvatore Sanfilippo. All rights reserved.
* *
* The original copyright notice follows. */ * The original copyright notice follows. */

View File

@ -1,7 +1,7 @@
/* The following is the NetBSD libc qsort implementation modified in order to /* The following is the NetBSD libc qsort implementation modified in order to
* support partial sorting of ranges for Redis. * support partial sorting of ranges for Redis.
* *
* Copyright(C) 2009 Salvatore Sanfilippo. All rights reserved. * Copyright(C) 2009-2010 Salvatore Sanfilippo. All rights reserved.
* *
* See the pqsort.c file for the original copyright notice. */ * See the pqsort.c file for the original copyright notice. */

View File

@ -1,6 +1,6 @@
/* Redis benchmark utility. /* Redis benchmark utility.
* *
* Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com> * Copyright (c) 2009-2010, Salvatore Sanfilippo <antirez at gmail dot com>
* All rights reserved. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without

View File

@ -1,6 +1,6 @@
/* Redis CLI (command line interface) /* Redis CLI (command line interface)
* *
* Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com> * Copyright (c) 2009-2010, Salvatore Sanfilippo <antirez at gmail dot com>
* All rights reserved. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com> * Copyright (c) 2009-2010, Salvatore Sanfilippo <antirez at gmail dot com>
* All rights reserved. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -2346,7 +2346,7 @@ static int selectDb(redisClient *c, int id) {
static void *dupClientReplyValue(void *o) { static void *dupClientReplyValue(void *o) {
incrRefCount((robj*)o); incrRefCount((robj*)o);
return 0; return o;
} }
static redisClient *createClient(int fd) { static redisClient *createClient(int fd) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com> * Copyright (c) 2009-2010, Salvatore Sanfilippo <antirez at gmail dot com>
* All rights reserved. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without

2
sds.c
View File

@ -1,6 +1,6 @@
/* SDSLib, A C dynamic strings library /* SDSLib, A C dynamic strings library
* *
* Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com> * Copyright (c) 2006-2010, Salvatore Sanfilippo <antirez at gmail dot com>
* All rights reserved. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without

2
sds.h
View File

@ -1,6 +1,6 @@
/* SDSLib, A C dynamic strings library /* SDSLib, A C dynamic strings library
* *
* Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com> * Copyright (c) 2006-2010, Salvatore Sanfilippo <antirez at gmail dot com>
* All rights reserved. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without

View File

@ -1,6 +1,6 @@
/* zmalloc - total amount of allocated memory aware version of malloc() /* zmalloc - total amount of allocated memory aware version of malloc()
* *
* Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com> * Copyright (c) 2009-2010, Salvatore Sanfilippo <antirez at gmail dot com>
* All rights reserved. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without

View File

@ -1,6 +1,6 @@
/* zmalloc - total amount of allocated memory aware version of malloc() /* zmalloc - total amount of allocated memory aware version of malloc()
* *
* Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com> * Copyright (c) 2009-2010, Salvatore Sanfilippo <antirez at gmail dot com>
* All rights reserved. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without