mirror of
https://github.com/fluencelabs/redis
synced 2025-06-12 00:31:21 +00:00
enlarged buffer given to ld2string
This commit is contained in:
@ -33,6 +33,11 @@
|
||||
#include <stdint.h>
|
||||
#include "sds.h"
|
||||
|
||||
/* The maximum number of characters needed to represent a long double
|
||||
* as a string (long double has a huge range).
|
||||
* This should be the size of the buffer given to ld2string */
|
||||
#define MAX_LONG_DOUBLE_CHARS 5*1024
|
||||
|
||||
int stringmatchlen(const char *p, int plen, const char *s, int slen, int nocase);
|
||||
int stringmatch(const char *p, const char *s, int nocase);
|
||||
long long memtoll(const char *p, int *err);
|
||||
|
Reference in New Issue
Block a user