diff options
author | René Scharfe <l.s.r@web.de> | 2022-10-30 14:49:37 +0300 |
---|---|---|
committer | Taylor Blau <me@ttaylorr.com> | 2022-10-30 21:04:37 +0300 |
commit | 242aa33de0f18bf09dd147401af9b44cf961d532 (patch) | |
tree | 93f6ccc076f4b9d0da4618259e29b0e111841eba /compat | |
parent | eede29aa359a3049d1d1aea38a2cfc3eb547a23c (diff) |
sequencer: simplify building argument list in do_exec()
Build child_argv during initialization, taking advantage of the C99
support for initialization expressions that are not compile time
constants. This avoids the use of a magic index constant and is shorter
and simpler.
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 'compat')
0 files changed, 0 insertions, 0 deletions