diff options
author | Remi Collet <remi@remirepo.net> | 2018-02-28 16:46:21 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-02-28 16:46:21 +0100 |
commit | 269f086a4e1c4a2807b1ad1b124f31ad513bb46e (patch) | |
tree | d6281866b18d893b979ff30ae4cc9b53c1b5597a /memcached-format_errors.patch | |
parent | 58ac5452a0393fc46db3f29e90728f8c186913a2 (diff) |
Update to 1.5.6
Add systemd instancing support
Diffstat (limited to 'memcached-format_errors.patch')
-rw-r--r-- | memcached-format_errors.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/memcached-format_errors.patch b/memcached-format_errors.patch deleted file mode 100644 index 53a9c65..0000000 --- a/memcached-format_errors.patch +++ /dev/null @@ -1,32 +0,0 @@ -commit aa5cc9ad74c871970c2d93c114e1d2c125b63e81 -Author: Miroslav Lichvar <mlichvar@redhat.com> -Date: Tue Jan 30 13:28:08 2018 +0100 - - fix gcc warnings - -diff --git a/items.c b/items.c -index 400048b..519764f 100644 ---- a/items.c -+++ b/items.c -@@ -925,7 +925,7 @@ void item_stats_sizes(ADD_STAT add_stats, void *c) { - int i; - for (i = 0; i < stats_sizes_buckets; i++) { - if (stats_sizes_hist[i] != 0) { -- char key[8]; -+ char key[12]; - snprintf(key, sizeof(key), "%d", i * 32); - APPEND_STAT(key, "%u", stats_sizes_hist[i]); - } -diff --git a/memcached.c b/memcached.c -index a8a724c..dba7941 100644 ---- a/memcached.c -+++ b/memcached.c -@@ -3338,7 +3338,7 @@ static void process_stats_conns(ADD_STAT add_stats, void *c) { - int i; - char key_str[STAT_KEY_LEN]; - char val_str[STAT_VAL_LEN]; -- char conn_name[MAXPATHLEN + sizeof("unix:")]; -+ char conn_name[MAXPATHLEN + sizeof("unix:") + sizeof("65535")]; - int klen = 0, vlen = 0; - - assert(add_stats); |