+2008-06-10 Bruno Haible <bruno@clisp.org>
+
+ * msgexec.c (process_string): Update for changed signature of
+ wait_subprocess().
+ * msgfilter.c (generic_filter): Likewise.
+ * msginit.c (project_id, project_id_version, get_user_email,
+ language_team_address): Likewise.
+ * read-csharp.c (execute_and_read_po_output): Likewise.
+ * read-java.c (execute_and_read_po_output): Likewise.
+ * read-resources.c (execute_and_read_po_output): Likewise.
+ * read-tcl.c (msgdomain_read_tcl): Likewise.
+ * write-resources.c (execute_writing_input): Likewise.
+ * urlget.c (execute_it, fetch): Update for changed signature of
+ execute().
+
2008-05-26 Bruno Haible <bruno@clisp.org>
* msginit.c (get_field, put_field): Recognize a field also if there is
/* Pass translations to a subprocess.
- Copyright (C) 2001-2007 Free Software Foundation, Inc.
+ Copyright (C) 2001-2008 Free Software Foundation, Inc.
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software: you can redistribute it and/or modify
/* Remove zombie process from process list, and retrieve exit status. */
/* FIXME: Should ignore_sigpipe be set to true here? It depends on the
semantics of the subprogram... */
- exitstatus = wait_subprocess (child, sub_name, false, false, true, true);
+ exitstatus =
+ wait_subprocess (child, sub_name, false, false, true, true, NULL);
if (exitcode < exitstatus)
exitcode = exitstatus;
}
/* Edit translations using a subprocess.
- Copyright (C) 2001-2007 Free Software Foundation, Inc.
+ Copyright (C) 2001-2008 Free Software Foundation, Inc.
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software: you can redistribute it and/or modify
close (fd[0]);
/* Remove zombie process from process list. */
- exitstatus = wait_subprocess (child, sub_name, false, false, true, true);
+ exitstatus =
+ wait_subprocess (child, sub_name, false, false, true, true, NULL);
if (exitstatus != 0)
error (EXIT_FAILURE, 0, _("%s subprocess terminated with exit code %d"),
sub_name, exitstatus);
fclose (fp);
/* Remove zombie process from process list, and retrieve exit status. */
- exitstatus = wait_subprocess (child, prog, false, false, true, false);
+ exitstatus = wait_subprocess (child, prog, false, false, true, false, NULL);
if (exitstatus != 0)
{
error (0, 0, _("%s subprocess failed with exit code %d"),
fclose (fp);
/* Remove zombie process from process list, and retrieve exit status. */
- exitstatus = wait_subprocess (child, prog, false, false, true, false);
+ exitstatus = wait_subprocess (child, prog, false, false, true, false, NULL);
if (exitstatus != 0)
{
error (0, 0, _("%s subprocess failed with exit code %d"),
fclose (fp);
/* Remove zombie process from process list, and retrieve exit status. */
- exitstatus = wait_subprocess (child, prog, false, false, true, false);
+ exitstatus = wait_subprocess (child, prog, false, false, true, false, NULL);
if (exitstatus != 0)
{
error (0, 0, _("%s subprocess failed with exit code %d"),
fclose (fp);
/* Remove zombie process from process list, and retrieve exit status. */
- exitstatus = wait_subprocess (child, prog, false, false, true, false);
+ exitstatus = wait_subprocess (child, prog, false, false, true, false, NULL);
if (exitstatus != 0)
{
error (0, 0, _("%s subprocess failed with exit code %d"),
/* Reading C# satellite assemblies.
- Copyright (C) 2003-2004, 2006-2007 Free Software Foundation, Inc.
+ Copyright (C) 2003-2004, 2006-2008 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2003.
This program is free software: you can redistribute it and/or modify
fclose (fp);
/* Remove zombie process from process list, and retrieve exit status. */
- exitstatus = wait_subprocess (child, progname, false, false, true, true);
+ exitstatus =
+ wait_subprocess (child, progname, false, false, true, true, NULL);
if (exitstatus != 0)
error (EXIT_FAILURE, 0, _("%s subprocess failed with exit code %d"),
progname, exitstatus);
/* Reading Java ResourceBundles.
- Copyright (C) 2001-2003, 2006-2007 Free Software Foundation, Inc.
+ Copyright (C) 2001-2003, 2006-2008 Free Software Foundation, Inc.
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software: you can redistribute it and/or modify
fclose (fp);
/* Remove zombie process from process list, and retrieve exit status. */
- exitstatus = wait_subprocess (child, progname, false, false, true, true);
+ exitstatus =
+ wait_subprocess (child, progname, false, false, true, true, NULL);
if (exitstatus != 0)
error (EXIT_FAILURE, 0, _("%s subprocess failed with exit code %d"),
progname, exitstatus);
/* Reading C# .resources files.
- Copyright (C) 2003, 2006-2007 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2006-2008 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2003.
This program is free software: you can redistribute it and/or modify
fclose (fp);
/* Remove zombie process from process list, and retrieve exit status. */
- exitstatus = wait_subprocess (child, progname, false, false, true, true);
+ exitstatus =
+ wait_subprocess (child, progname, false, false, true, true, NULL);
if (exitstatus != 0)
error (EXIT_FAILURE, 0, _("%s subprocess failed with exit code %d"),
progname, exitstatus);
/* Reading tcl/msgcat .msg files.
- Copyright (C) 2002-2003, 2005-2007 Free Software Foundation, Inc.
+ Copyright (C) 2002-2003, 2005-2008 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2002.
This program is free software: you can redistribute it and/or modify
fclose (fp);
/* Remove zombie process from process list, and retrieve exit status. */
- exitstatus = wait_subprocess (child, "tclsh", false, false, true, true);
+ exitstatus =
+ wait_subprocess (child, "tclsh", false, false, true, true, NULL);
if (exitstatus != 0)
{
if (exitstatus == 2)
(void) private_data;
return execute (progname, prog_path, prog_argv, true, true, false, false,
- true, false)
+ true, false, NULL)
!= 0;
}
argv[1] = "--version";
argv[2] = NULL;
exitstatus = execute ("wget", "wget", argv, false, false, true, true,
- true, false);
+ true, false, NULL);
wget_present = (exitstatus == 0);
wget_tested = true;
}
argv[6] = (char *) url;
argv[7] = NULL;
exitstatus = execute ("wget", "wget", argv, true, false, false, false,
- true, false);
+ true, false, NULL);
if (exitstatus != 127)
{
if (exitstatus != 0)
argv[1] = "--version";
argv[2] = NULL;
exitstatus = execute ("lynx", "lynx", argv, false, false, true, true,
- true, false);
+ true, false, NULL);
lynx_present = (exitstatus == 0);
lynx_tested = true;
}
argv[2] = (char *) url;
argv[3] = NULL;
exitstatus = execute ("lynx", "lynx", argv, true, false, false, false,
- true, false);
+ true, false, NULL);
if (exitstatus != 127)
{
if (exitstatus != 0)
argv[1] = "--version";
argv[2] = NULL;
exitstatus = execute ("curl", "curl", argv, false, false, true, true,
- true, false);
+ true, false, NULL);
curl_present = (exitstatus == 0 || exitstatus == 2);
curl_tested = true;
}
argv[2] = (char *) url;
argv[3] = NULL;
exitstatus = execute ("curl", "curl", argv, true, false, false, false,
- true, false);
+ true, false, NULL);
if (exitstatus != 127)
{
if (exitstatus != 0)
/* Writing C# .resources files.
- Copyright (C) 2003, 2005, 2007 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2005, 2007-2008 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2003.
This program is free software: you can redistribute it and/or modify
/* He we can ignore SIGPIPE because WriteResource either writes to a file
- then it never gets SIGPIPE - or to standard output, and in the latter
case it has no side effects other than writing to standard output. */
- exitstatus = wait_subprocess (child, progname, true, false, true, true);
+ exitstatus =
+ wait_subprocess (child, progname, true, false, true, true, NULL);
if (exitstatus != 0)
error (EXIT_FAILURE, 0, _("%s subprocess failed with exit code %d"),
progname, exitstatus);