Skip to content

Rename macros in valkey-cli.c and redis_strlcpy to valkey#284

Merged
zuiderkwast merged 1 commit into
valkey-io:unstablefrom
Shivshankar-Reddy:macros-cli-file
Apr 10, 2024
Merged

Rename macros in valkey-cli.c and redis_strlcpy to valkey#284
zuiderkwast merged 1 commit into
valkey-io:unstablefrom
Shivshankar-Reddy:macros-cli-file

Conversation

@Shivshankar-Reddy
Copy link
Copy Markdown
Contributor

Renamed macros and the function name.

Signed-off-by: Shivshankar-Reddy <shiva.sheri.github@gmail.com>
@Shivshankar-Reddy
Copy link
Copy Markdown
Contributor Author

@zuiderkwast Updated macros inn valkey_cli file and also renamed redis_strlcpy function as well. Can you please have look when you have some time?

Copy link
Copy Markdown
Contributor

@zuiderkwast zuiderkwast left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm thinking about a better name for valkey_strlcpy but I can't think of one. (Maybe we should actually replace it with strncpy which is in C99 but this code is probably from before C99 was widely used. I don't know if it's faster or anything though, so it's safer to just keep this.)

@zuiderkwast zuiderkwast added the rebranding Valkey is not Redis label Apr 10, 2024
@zuiderkwast zuiderkwast changed the title Rename macros valkey_cli.c and redis_strlcpy to valkey Rename macros in valkey-cli.c and redis_strlcpy to valkey Apr 10, 2024
@zuiderkwast zuiderkwast merged commit 2e46046 into valkey-io:unstable Apr 10, 2024
@Shivshankar-Reddy Shivshankar-Reddy deleted the macros-cli-file branch April 18, 2024 15:52
PatrickJS pushed a commit to PatrickJS/placeholderkv that referenced this pull request Apr 24, 2024
)

Signed-off-by: Shivshankar-Reddy <shiva.sheri.github@gmail.com>
bjosv added a commit to bjosv/valkey that referenced this pull request Feb 23, 2026
Squashed 'deps/libvalkey/' changes from b012f8e85..45c2ed15c

45c2ed15c Release 0.4.0 (valkey-io#286)
40d6590d7 Implement runtime dynamic loading for RDMA libraries (valkey-io#284)
62e757d17 Release 0.3.0 (valkey-io#283)
a554f0942 Fix potential uint32_t underflow issue (valkey-io#280)
8f9051ae0 Correcting command parser bug (valkey-io#277)
29023eb36 Add valkey-json, valkey-bloom, valkey-search to cmddef.h
ae756bc89 Update cmddef.h to Valkey 9.0.0
21abd737e Replace problematic alloca() with fixed stack alloc
38191079c Fix compilation on Solaris with Sun/Solaris Studio
ef5de0312 Make libvalkey initialization thread-safe
ae341dea5 Support slotmap updates using CLUSTER NODES in RESP3 (valkey-io#262)
36f6e2292 Fix the long-blocking read for Valkey RDMA. (valkey-io#233)
c090c28be Use a uintptr_t hop for casting pointers to ints
daa7f11ac Avoid heap buffer overflow in valkeyAsyncFormattedCommand (valkey-io#245)
15974930d Add option to select a logical database (valkey-io#244)
983d67e4f Install the macosx adapter on Apple platforms only
...

git-subtree-dir: deps/libvalkey
git-subtree-split: 45c2ed15cab9fa0ea1a6cabc8460f5eea6240de5

Signed-off-by: Björn Svensson <bjorn.a.svensson@est.tech>
zuiderkwast pushed a commit that referenced this pull request Feb 23, 2026
Update deps/libvalkey to version 0.4.0

Squashed 'deps/libvalkey/' changes from b012f8e85..45c2ed15c

45c2ed15c Release 0.4.0 (#286)
40d6590d7 Implement runtime dynamic loading for RDMA libraries (#284)
62e757d17 Release 0.3.0 (#283)
a554f0942 Fix potential uint32_t underflow issue (#280)
8f9051ae0 Correcting command parser bug (#277)
29023eb36 Add valkey-json, valkey-bloom, valkey-search to cmddef.h
ae756bc89 Update cmddef.h to Valkey 9.0.0
21abd737e Replace problematic alloca() with fixed stack alloc
38191079c Fix compilation on Solaris with Sun/Solaris Studio
ef5de0312 Make libvalkey initialization thread-safe
ae341dea5 Support slotmap updates using CLUSTER NODES in RESP3 (#262)
36f6e2292 Fix the long-blocking read for Valkey RDMA. (#233)
c090c28be Use a uintptr_t hop for casting pointers to ints
daa7f11ac Avoid heap buffer overflow in valkeyAsyncFormattedCommand (#245)
15974930d Add option to select a logical database (#244)
983d67e4f Install the macosx adapter on Apple platforms only
...

git-subtree-dir: deps/libvalkey
git-subtree-split: 45c2ed15cab9fa0ea1a6cabc8460f5eea6240de5

Signed-off-by: Björn Svensson <bjorn.a.svensson@est.tech>
hpatro pushed a commit to hpatro/valkey that referenced this pull request Mar 5, 2026
Update deps/libvalkey to version 0.4.0

Squashed 'deps/libvalkey/' changes from b012f8e85..45c2ed15c

45c2ed15c Release 0.4.0 (valkey-io#286)
40d6590d7 Implement runtime dynamic loading for RDMA libraries (valkey-io#284)
62e757d17 Release 0.3.0 (valkey-io#283)
a554f0942 Fix potential uint32_t underflow issue (valkey-io#280)
8f9051ae0 Correcting command parser bug (valkey-io#277)
29023eb36 Add valkey-json, valkey-bloom, valkey-search to cmddef.h
ae756bc89 Update cmddef.h to Valkey 9.0.0
21abd737e Replace problematic alloca() with fixed stack alloc
38191079c Fix compilation on Solaris with Sun/Solaris Studio
ef5de0312 Make libvalkey initialization thread-safe
ae341dea5 Support slotmap updates using CLUSTER NODES in RESP3 (valkey-io#262)
36f6e2292 Fix the long-blocking read for Valkey RDMA. (valkey-io#233)
c090c28be Use a uintptr_t hop for casting pointers to ints
daa7f11ac Avoid heap buffer overflow in valkeyAsyncFormattedCommand (valkey-io#245)
15974930d Add option to select a logical database (valkey-io#244)
983d67e4f Install the macosx adapter on Apple platforms only
...

git-subtree-dir: deps/libvalkey
git-subtree-split: 45c2ed15cab9fa0ea1a6cabc8460f5eea6240de5

Signed-off-by: Björn Svensson <bjorn.a.svensson@est.tech>
Signed-off-by: Harkrishn Patro <bunty.hari@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rebranding Valkey is not Redis

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants