sds
sds copied to clipboard
Simple Dynamic Strings library for C
Signed-off-by: Bo Cai
The word "usual" and "usually" are legal, but "usualy" is not legal. In addition, use "usual" maybe better. D:) Signed-off-by: Bo Cai
``` Use it like this: sds s = sdsfromlonglong(10000); printf("%d\n", (int) sdslen(s)); output> 5 ``` Why did you get the number 5? This simply can not be ``` sds s1...
@antirez for review
Originally submitted here https://github.com/antirez/redis/pull/3439
There exist platforms that use a C++ compiler even for C code. Regardless of that, I think it would be a good idea to make sds compile out of the...
As alrady mentioned in issue #67, there is a potential null pointer access in`sdsnewlen`. This is only posssible because `s_malloc` is actually just defined as `malloc` instead of `zmalloc` like...