Re: [RFC] 09/10 Add "continue --all"

Eli Zaretskii
2008-05-08T11:43:48Z

> From: Pedro Alves <pedro@codesourcery.com>
> Date: Tue, 6 May 2008 16:49:50 +0100
>
> + if (args != NULL)
> + {
> + if (strncmp (args, "--all", 5) == 0)

Can we please void literal constants like 5 here? sizeof should be
our friend, and you actually use it 3 lines below this:

> + {
> + all_threads = 1;
> + args += sizeof ("--all") - 1;
> + if (*args == '\0')
> + args = NULL;
> + }