bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Add the --nice argument to make


From: Andreas Schwab
Subject: Re: [PATCH] Add the --nice argument to make
Date: Tue, 17 Sep 2019 10:12:03 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

On Sep 16 2019, Palmer Dabbelt <address@hidden> 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, address@hidden
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]