diff options
author | Bruno Haible <bruno@clisp.org> | 2020-12-13 01:46:46 +0100 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2020-12-12 18:21:24 -0800 |
commit | 4e5c2c0157fe3e0cfc8c86284a6ac75c974a4e6a (patch) | |
tree | 12e894ae84d6ef858958cac4f69f1cf92084af70 | |
parent | dcc5d16a850e7f5ec58c080d674ddf355b54d0a0 (diff) | |
download | m4-4e5c2c0157fe3e0cfc8c86284a6ac75c974a4e6a.tar.gz |
Update after gnulib changed.
* src/builtin.c (m4_syscmd): Update 'execute' invocation.
(m4_esyscmd): Update 'create_pipe_in' invocation.
* po/POTFILES.in: Remove lib/w32spawn.h. Add lib/openat-die.c, lib/os2-spawn.c.
-rw-r--r-- | po/POTFILES.in | 3 | ||||
-rw-r--r-- | src/builtin.c | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/po/POTFILES.in b/po/POTFILES.in index 7685034b..5a5004d3 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -25,13 +25,14 @@ lib/error.c lib/execute.c lib/getopt.c lib/obstack.c +lib/openat-die.c +lib/os2-spawn.c lib/quotearg.c lib/siglist.h lib/spawn-pipe.c lib/strsignal.c lib/verror.c lib/version-etc.c -lib/w32spawn.h lib/wait-process.c lib/xalloc-die.c src/builtin.c diff --git a/src/builtin.c b/src/builtin.c index 9c43b721..d118b21c 100644 --- a/src/builtin.c +++ b/src/builtin.c @@ -965,7 +965,7 @@ m4_syscmd (struct obstack *obs MAYBE_UNUSED, int argc, token_data **argv) #endif prog_args[2] = cmd; errno = 0; - status = execute (ARG (0), SYSCMD_SHELL, (char **) prog_args, false, + status = execute (ARG (0), SYSCMD_SHELL, prog_args, NULL, false, false, false, false, true, false, &sig_status); if (sig_status) { @@ -1008,7 +1008,7 @@ m4_esyscmd (struct obstack *obs, int argc, token_data **argv) #endif prog_args[2] = cmd; errno = 0; - child = create_pipe_in (ARG (0), SYSCMD_SHELL, (char **) prog_args, + child = create_pipe_in (ARG (0), SYSCMD_SHELL, prog_args, NULL, NULL, false, true, false, &fd); if (child == -1) { |