]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Update following some changes in gnulib.
authorBruno Haible <bruno@clisp.org>
Tue, 10 Jun 2008 19:01:45 +0000 (19:01 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:15:44 +0000 (12:15 +0200)
gettext-tools/src/ChangeLog
gettext-tools/src/msgexec.c
gettext-tools/src/msgfilter.c
gettext-tools/src/msginit.c
gettext-tools/src/read-csharp.c
gettext-tools/src/read-java.c
gettext-tools/src/read-resources.c
gettext-tools/src/read-tcl.c
gettext-tools/src/urlget.c
gettext-tools/src/write-resources.c

index 0a26be40d9834574de7b88d875b19e3b695e5695..53fbd601090c416ce0a07ea91afaa0fa9f1dc5df 100644 (file)
@@ -1,3 +1,18 @@
+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
index 5f14f4e0eef20071fa58b8ace49aed64321fb4b0..345044dfc45f3b42255114f05b60c89152d6a488 100644 (file)
@@ -1,5 +1,5 @@
 /* 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
@@ -359,7 +359,8 @@ process_string (const message_ty *mp, const char *str, size_t len)
       /* 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;
     }
index 2f6fc760a7613036a2ed9b0516786b66b99db86b..1177361f80801a146c4018e2dd821f6e7eb8f087 100644 (file)
@@ -1,5 +1,5 @@
 /* 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
@@ -706,7 +706,8 @@ generic_filter (const char *str, size_t len, char **resultp, size_t *lengthp)
   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);
index 6e211badcfc545fd319a0d8ed3f6ec197e930434..13182dc8e4cf8e0c72787fc1a72202e4601cc192 100644 (file)
@@ -855,7 +855,7 @@ project_id ()
   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"),
@@ -930,7 +930,7 @@ project_id_version (const char *header)
   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"),
@@ -1090,7 +1090,7 @@ you in case of unexpected technical problems.\n");
   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"),
@@ -1185,7 +1185,7 @@ language_team_address ()
   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"),
index 1f2309588fbb5b5d803794c84cb4264b1613816d..14197c540eeae14642d0be348e09647335f6bf9e 100644 (file)
@@ -1,5 +1,5 @@
 /* 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
@@ -77,7 +77,8 @@ execute_and_read_po_output (const char *progname,
   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);
index 6aa44ccc4450faa3a930e130a2e23aad3b5e90bd..c43910b996bfc660ebee09c12a7452258bbeca2a 100644 (file)
@@ -1,5 +1,5 @@
 /* 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
@@ -75,7 +75,8 @@ execute_and_read_po_output (const char *progname,
   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);
index 032ca724b2d97e0d58b740520034a31eb4388810..559a90e40a5920469c8ae336d15b267b2063b4cc 100644 (file)
@@ -1,5 +1,5 @@
 /* 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
@@ -78,7 +78,8 @@ execute_and_read_po_output (const char *progname,
   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);
index 1acbc3fcc3e363148a175e0348983475fd7f4a16..53485a5d57a265a06f7636469af0d55e20467fd0 100644 (file)
@@ -1,5 +1,5 @@
 /* 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
@@ -115,7 +115,8 @@ msgdomain_read_tcl (const char *locale_name, const char *directory)
   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)
index e5df76b79a24b1cbe3ec01b2867cb841a62ab2d2..cf1545ac722b0590266d37d87ffa9ed53624b28e 100644 (file)
@@ -233,7 +233,7 @@ execute_it (const char *progname,
   (void) private_data;
 
   return execute (progname, prog_path, prog_argv, true, true, false, false,
-                 true, false)
+                 true, false, NULL)
         != 0;
 }
 
@@ -291,7 +291,7 @@ fetch (const char *url, const char *file)
        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;
       }
@@ -308,7 +308,7 @@ fetch (const char *url, const char *file)
        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)
@@ -334,7 +334,7 @@ fetch (const char *url, const char *file)
        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;
       }
@@ -349,7 +349,7 @@ fetch (const char *url, const char *file)
        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)
@@ -375,7 +375,7 @@ fetch (const char *url, const char *file)
        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;
       }
@@ -390,7 +390,7 @@ fetch (const char *url, const char *file)
        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)
index 2f20201e5eb79ff46e3d0f403d68ae897ebba8d9..3b9fdabbd6f7683263f76b3702b93f392c2e124e 100644 (file)
@@ -1,5 +1,5 @@
 /* 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
@@ -98,7 +98,8 @@ execute_writing_input (const char *progname,
   /* 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);