@@ -685,13 +685,13 @@ NULL
685685 addReplyErrorObject (c ,shared .nokeyerr );
686686 return ;
687687 }
688-
688+
689689 val = kv ;
690690 key = kvobjGetKey (kv );
691691 if (kv -> type != OBJ_STRING || !sdsEncodedObject (val )) {
692692 addReplyError (c ,"Not an sds encoded string." );
693693 } else {
694- /* The key's allocation size reflects the entire robj allocation.
694+ /* The key's allocation size reflects the entire robj allocation.
695695 * For embedded values, report an allocation size of 0. */
696696 size_t obj_alloc = zmalloc_usable_size (val );
697697 size_t val_alloc = val -> encoding == OBJ_ENCODING_RAW ? sdsAllocSize (val -> ptr ) : 0 ;
755755 return ;
756756 }
757757 long valsize = 0 ;
758- if ( c -> argc == 5 && getPositiveLongFromObjectOrReply (c , c -> argv [4 ], & valsize , NULL ) != C_OK )
758+ if ( c -> argc == 5 && getPositiveLongFromObjectOrReply (c , c -> argv [4 ], & valsize , NULL ) != C_OK )
759759 return ;
760760
761761 for (j = 0 ; j < keys ; j ++ ) {
@@ -2728,7 +2728,7 @@ static int is_thread_ready_to_signal(const char *proc_pid_task_path, const char
27282728 break ;
27292729 }
27302730
2731- /* The bit position in a signal mask aligns with the signal number. Since signal numbers start from 1
2731+ /* The bit position in a signal mask aligns with the signal number. Since signal numbers start from 1
27322732 we need to adjust the signal number by subtracting 1 to align it correctly with the zero-based indexing used */
27332733 if (sig_mask & (1L << (sig_num - 1 ))) { /* if the signal is blocked/ignored return 0 */
27342734 ret = 0 ;
@@ -2748,7 +2748,7 @@ static int is_thread_ready_to_signal(const char *proc_pid_task_path, const char
27482748 return ret ;
27492749}
27502750
2751- /** We are using syscall(SYS_getdents64) to read directories, which unlike opendir(), is considered
2751+ /** We are using syscall(SYS_getdents64) to read directories, which unlike opendir(), is considered
27522752 * async-signal-safe. This function wrapper getdents64() in glibc is supported as of glibc 2.30.
27532753 * To support earlier versions of glibc, we use syscall(SYS_getdents64), which requires defining
27542754 * linux_dirent64 ourselves. This structure is very old and stable: It will not change unless the kernel
@@ -2807,7 +2807,7 @@ static size_t get_ready_to_signal_threads_tids(int sig_num, pid_t tids[TIDS_MAX_
28072807
28082808 /* save the thread id */
28092809 tids [tids_count ++ ] = tid ;
2810-
2810+
28112811 /* Stop if we reached the maximum threads number. */
28122812 if (tids_count == TIDS_MAX_SIZE ) {
28132813 serverLogRawFromHandler (LL_WARNING , "get_ready_to_signal_threads_tids(): Reached the limit of the tids buffer." );
0 commit comments