* gettext-tools/src/urlget.c (execute_it, fetch): Update 'execute' invocations.
* gettext-tools/src/msginit.c (project_id, project_id_version, get_user_email,
language_team_address, plural_forms): Update create_pipe_in invocations.
* gettext-tools/src/read-csharp.c (execute_and_read_po_output): Likewise.
* gettext-tools/src/read-java.c (execute_and_read_po_output): Likewise.
* gettext-tools/src/read-resources.c (execute_and_read_po_output): Likewise.
* gettext-tools/src/read-tcl.c (msgdomain_read_tcl): Likewise.
* gettext-tools/src/x-ruby.c (extract_ruby): Likewise.
* gettext-tools/src/msgexec.c (process_string): Update create_pipe_out
invocation.
* gettext-tools/src/write-resources.c (execute_writing_input): Likewise.
unsetenv ("MSGEXEC_PREV_MSGID_PLURAL");
/* Open a pipe to a subprocess. */
- child = create_pipe_out (sub_name, sub_path, sub_argv, NULL, false, true,
- true, fd);
+ child = create_pipe_out (sub_name, sub_path, sub_argv, NULL,
+ NULL, false, true, true, fd);
/* Ignore SIGPIPE here. We don't care if the subprocesses terminates
successfully without having read all of the input that we feed it. */
argv[0] = BOURNE_SHELL;
argv[1] = prog;
argv[2] = NULL;
- child = create_pipe_in (prog, BOURNE_SHELL, argv, DEV_NULL, false, true,
- false, fd);
+ child = create_pipe_in (prog, BOURNE_SHELL, argv, NULL,
+ DEV_NULL, false, true, false, fd);
if (child == -1)
goto failed;
argv[1] = prog;
argv[2] = "yes";
argv[3] = NULL;
- child = create_pipe_in (prog, BOURNE_SHELL, argv, DEV_NULL, false, true,
- false, fd);
+ child = create_pipe_in (prog, BOURNE_SHELL, argv, NULL,
+ DEV_NULL, false, true, false, fd);
if (child == -1)
goto failed;
give you feedback about the translations, and so that maintainers can contact\n\
you in case of unexpected technical problems.\n");
argv[3] = NULL;
- child = create_pipe_in (prog, BOURNE_SHELL, argv, DEV_NULL, false, true,
- false, fd);
+ child = create_pipe_in (prog, BOURNE_SHELL, argv, NULL,
+ DEV_NULL, false, true, false, fd);
if (child == -1)
goto failed;
argv[4] = (char *) catalogname;
argv[5] = (char *) language;
argv[6] = NULL;
- child = create_pipe_in (prog, BOURNE_SHELL, argv, DEV_NULL, false, true,
- false, fd);
+ child = create_pipe_in (prog, BOURNE_SHELL, argv, NULL,
+ DEV_NULL, false, true, false, fd);
if (child == -1)
goto failed;
argv[1] = (char *) language;
argv[2] = last_dir;
argv[3] = NULL;
- child = create_pipe_in (prog, prog, argv, DEV_NULL,
- false, true, false,
- fd);
+ child = create_pipe_in (prog, prog, argv, NULL,
+ DEV_NULL, false, true, false, fd);
free (last_dir);
if (child == -1)
goto failed;
/* Reading C# satellite assemblies.
- Copyright (C) 2003-2004, 2006-2008, 2010-2011 Free Software Foundation, Inc.
+ Copyright (C) 2003-2004, 2006-2008, 2010-2011, 2020 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2003.
This program is free software: you can redistribute it and/or modify
int exitstatus;
/* Open a pipe to the C# execution engine. */
- child = create_pipe_in (progname, prog_path, prog_argv, DEV_NULL, false,
- true, true, fd);
+ child = create_pipe_in (progname, prog_path, prog_argv, NULL,
+ DEV_NULL, false, true, true, fd);
fp = fdopen (fd[0], "r");
if (fp == NULL)
/* Reading Java ResourceBundles.
- Copyright (C) 2001-2003, 2006-2008, 2010-2011, 2017, 2019 Free Software
+ Copyright (C) 2001-2003, 2006-2008, 2010-2011, 2017, 2019-2020 Free Software
Foundation, Inc.
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
int exitstatus;
/* Open a pipe to the JVM. */
- child = create_pipe_in (progname, prog_path, prog_argv, DEV_NULL, false,
- true, true, fd);
+ child = create_pipe_in (progname, prog_path, prog_argv, NULL,
+ DEV_NULL, false, true, true, fd);
fp = fdopen (fd[0], "r");
if (fp == NULL)
/* Reading C# .resources files.
- Copyright (C) 2003-2004, 2006-2008, 2010-2011 Free Software Foundation, Inc.
+ Copyright (C) 2003-2004, 2006-2008, 2010-2011, 2020 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2003.
This program is free software: you can redistribute it and/or modify
int exitstatus;
/* Open a pipe to the C# execution engine. */
- child = create_pipe_in (progname, prog_path, prog_argv, NULL, false,
- true, true, fd);
+ child = create_pipe_in (progname, prog_path, prog_argv, NULL,
+ NULL, false, true, true, fd);
fp = fdopen (fd[0], "r");
if (fp == NULL)
/* Reading tcl/msgcat .msg files.
- Copyright (C) 2002-2003, 2005-2008, 2010-2011, 2018 Free Software
+ Copyright (C) 2002-2003, 2005-2008, 2010-2011, 2018, 2020 Free Software
Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2002.
}
/* Open a pipe to the Tcl interpreter. */
- child = create_pipe_in ("tclsh", "tclsh", argv, DEV_NULL, false, true, true,
- fd);
+ child = create_pipe_in ("tclsh", "tclsh", argv, NULL,
+ DEV_NULL, false, true, true, fd);
fp = fdopen (fd[0], "r");
if (fp == NULL)
(void) private_data;
java_exitcode =
- execute (progname, prog_path, prog_argv, true, true, false, false, true,
- false, NULL);
+ execute (progname, prog_path, prog_argv, NULL,
+ true, true, false, false, true, false, NULL);
/* Exit code 0 means success, 2 means timed out. */
return !(java_exitcode == 0 || java_exitcode == 2);
}
argv[0] = "wget";
argv[1] = "--version";
argv[2] = NULL;
- exitstatus = execute ("wget", "wget", argv, false, false, true, true,
- true, false, NULL);
+ exitstatus = execute ("wget", "wget", argv, NULL,
+ false, false, true, true, true, false, NULL);
wget_present = (exitstatus == 0);
wget_tested = true;
}
argv[6] = "--user-agent"; argv[7] = "urlget";
argv[8] = (char *) url;
argv[9] = NULL;
- exitstatus = execute ("wget", "wget", argv, true, false, false, false,
- true, false, NULL);
+ exitstatus = execute ("wget", "wget", argv, NULL,
+ true, false, false, false, true, false, NULL);
if (exitstatus != 127)
{
if (exitstatus != 0)
argv[0] = "lynx";
argv[1] = "--version";
argv[2] = NULL;
- exitstatus = execute ("lynx", "lynx", argv, false, false, true, true,
- true, false, NULL);
+ exitstatus = execute ("lynx", "lynx", argv, NULL,
+ false, false, true, true, true, false, NULL);
lynx_present = (exitstatus == 0);
lynx_tested = true;
}
argv[2] = "-source";
argv[3] = (char *) url;
argv[4] = NULL;
- exitstatus = execute ("lynx", "lynx", argv, true, false, false, false,
- true, false, NULL);
+ exitstatus = execute ("lynx", "lynx", argv, NULL,
+ true, false, false, false, true, false, NULL);
if (exitstatus != 127)
{
if (exitstatus != 0)
argv[0] = "curl";
argv[1] = "--version";
argv[2] = NULL;
- exitstatus = execute ("curl", "curl", argv, false, false, true, true,
- true, false, NULL);
+ exitstatus = execute ("curl", "curl", argv, NULL,
+ false, false, true, true, true, false, NULL);
curl_present = (exitstatus == 0 || exitstatus == 2);
curl_tested = true;
}
argv[2] = "--user-agent"; argv[3] = "urlget";
argv[4] = (char *) url;
argv[5] = NULL;
- exitstatus = execute ("curl", "curl", argv, true, false, false, false,
- true, false, NULL);
+ exitstatus = execute ("curl", "curl", argv, NULL,
+ true, false, false, false, true, false, NULL);
if (exitstatus != 127)
{
if (exitstatus != 0)
/* Writing C# .resources files.
- Copyright (C) 2003-2005, 2007-2009, 2010-2011, 2016 Free Software
+ Copyright (C) 2003-2005, 2007-2009, 2010-2011, 2016, 2020 Free Software
Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2003.
int exitstatus;
/* Open a pipe to the C# execution engine. */
- child = create_pipe_out (progname, prog_path, prog_argv, NULL, false,
- true, true, fd);
+ child = create_pipe_out (progname, prog_path, prog_argv, NULL,
+ NULL, false, true, true, fd);
fp = fdopen (fd[0], "wb");
if (fp == NULL)
free (command);
}
- child = create_pipe_in (progname, progname, argv,
+ child = create_pipe_in (progname, progname, argv, NULL,
DEV_NULL, false, true, true, fd);
fp = fdopen (fd[0], "r");