Re: [hackers] [slock][PATCH] Replace arg.h with if statements, simplify

From: Evan Gates <evan.gates_AT_gmail.com>
Date: Fri, 28 Oct 2016 12:24:27 -0700

On Fri, Oct 28, 2016 at 11:27 AM, Klemens Nanni <kl3_AT_posteo.org> wrote:
>
> ++argv is put on a seperate line since doing it within the execvp() call
> would produce a compiler warning.

Yes, because that's invoking undefined behavior. There is no guarantee
as to the order of execution of function parameters, and there are no
sequence points in there.
Received on Fri Oct 28 2016 - 21:24:27 CEST

This archive was generated by hypermail 2.3.0 : Fri Oct 28 2016 - 21:36:15 CEST