On Sep 16 2019, Palmer Dabbelt <[email protected]> wrote:

> @@ -1483,6 +1494,15 @@ main (int argc, char **argv, char **envp)
>        arg_job_slots = env_slots;
>    }
>  
> +  /* Nice ourselves, if requested. */
> +  if (arg_nice)
> +    {
> +#ifdef HAVE_UNISTD_H
> +      if (nice(0) == nice(arg_nice))

It is unspecified which operand is evaluated first.

Andreas.

-- 
Andreas Schwab, SUSE Labs, [email protected]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

_______________________________________________
Bug-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to