sds icon indicating copy to clipboard operation
sds copied to clipboard

Simple Dynamic Strings library for C

Results 108 sds issues
Sort by recently updated
recently updated
newest added

instead of asking for the extra new space it wanted, it asked to grow the string by the size it already has too. i.e. a string of 1000 bytes, needing...

There is a small typo in sds.c. Should read `terminated` rather than `termined`.

In my case I wanted to use `%+i`. Is this not planned to be added, or is this just not a high priority?

When a new sbs is created (as a char array) it is casted to struct type pointer, ex. SDS_HDR(8,s);. Isn't this violating the strict aliasing rule? (Dereferencing a pointer that...

Simply renaming 'sh' to 'newsh' in sdsnewlen() avoids a shadowed variable warning when invoking SDS_HDR_VAR().

Bug: https://github.com/antirez/sds/issues/97

As I've read in the reference and source when you pass an `sds` string to these two functions, you always have to assign the pointer back. Is there any workaround...