]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Update after gnulib changed.
authorBruno Haible <bruno@clisp.org>
Tue, 22 Oct 2024 20:24:44 +0000 (22:24 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 22 Oct 2024 20:24:44 +0000 (22:24 +0200)
* gettext-tools/src/msgexec.c (process_string): Update create_pipe_out
invocation.
* gettext-tools/src/write-resources.c (execute_writing_input): Likewise.
* 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/urlget.c (execute_it, fetch): Update execute invocations.

gettext-tools/src/msgexec.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
gettext-tools/src/x-ruby.c

index 762edecd47d3c505d1f4826e8e2f8d5bd70d3fc9..a262a64f601e8dec70c866406414b7b7959e361f 100644 (file)
@@ -407,7 +407,7 @@ process_string (const message_ty *mp, const char *str, size_t len)
         unsetenv ("MSGEXEC_PREV_MSGID_PLURAL");
 
       /* Open a pipe to a subprocess.  */
-      child = create_pipe_out (sub_name, sub_path, sub_argv, NULL,
+      child = create_pipe_out (sub_name, sub_path, sub_argv, NULL, NULL,
                                NULL, false, true, true, fd);
 
       /* Ignore SIGPIPE here.  We don't care if the subprocesses terminates
index 02adc5f63c8470220ae45552f85fcfac96f4cfef..d4f57e1b86112b88fd59eda6566b8b2c95551a6f 100644 (file)
@@ -937,7 +937,7 @@ project_id (const char *header)
     argv[0] = BOURNE_SHELL;
     argv[1] = prog;
     argv[2] = NULL;
-    child = create_pipe_in (prog, BOURNE_SHELL, argv, NULL,
+    child = create_pipe_in (prog, BOURNE_SHELL, argv, NULL, NULL,
                             DEV_NULL, false, true, false, fd);
     if (child == -1)
       goto failed;
@@ -1020,7 +1020,7 @@ project_id_version (const char *header)
     argv[1] = prog;
     argv[2] = "yes";
     argv[3] = NULL;
-    child = create_pipe_in (prog, BOURNE_SHELL, argv, NULL,
+    child = create_pipe_in (prog, BOURNE_SHELL, argv, NULL, NULL,
                             DEV_NULL, false, true, false, fd);
     if (child == -1)
       goto failed;
@@ -1189,7 +1189,7 @@ The new message catalog should contain your email address, so that users can\n\
 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, NULL,
+    child = create_pipe_in (prog, BOURNE_SHELL, argv, NULL, NULL,
                             DEV_NULL, false, true, false, fd);
     if (child == -1)
       goto failed;
@@ -1296,7 +1296,7 @@ language_team_address ()
     argv[4] = catalogname;
     argv[5] = language;
     argv[6] = NULL;
-    child = create_pipe_in (prog, BOURNE_SHELL, argv, NULL,
+    child = create_pipe_in (prog, BOURNE_SHELL, argv, NULL, NULL,
                             DEV_NULL, false, true, false, fd);
     if (child == -1)
       goto failed;
@@ -1469,7 +1469,7 @@ plural_forms ()
       argv[1] = language;
       argv[2] = last_dir;
       argv[3] = NULL;
-      child = create_pipe_in (prog, prog, argv, NULL,
+      child = create_pipe_in (prog, prog, argv, NULL, NULL,
                               DEV_NULL, false, true, false, fd);
       free (last_dir);
       if (child == -1)
index 6e2d64e1e3ef507ad00171d13bee5fadf44bbb0c..bc02dd64bc30a3b872b811c924b9dabcf76cf5b7 100644 (file)
@@ -67,7 +67,7 @@ execute_and_read_po_output (const char *progname,
   int exitstatus;
 
   /* Open a pipe to the C# execution engine.  */
-  child = create_pipe_in (progname, prog_path, prog_argv, NULL,
+  child = create_pipe_in (progname, prog_path, prog_argv, NULL, NULL,
                           DEV_NULL, false, true, true, fd);
 
   fp = fdopen (fd[0], "r");
index f417e501ef20aa54cabdcd834e93132296552b00..c9da864d714f7e5dd76d328ff9bada92955859bf 100644 (file)
@@ -64,7 +64,7 @@ execute_and_read_po_output (const char *progname,
   int exitstatus;
 
   /* Open a pipe to the JVM.  */
-  child = create_pipe_in (progname, prog_path, prog_argv, NULL,
+  child = create_pipe_in (progname, prog_path, prog_argv, NULL, NULL,
                           DEV_NULL, false, true, true, fd);
 
   fp = fdopen (fd[0], "r");
index 9c6dd3f84fbf48d77a8e72578edb031d5a0346d6..0e72d5029700dccdca7d8deb5ad7951e9aee26a0 100644 (file)
@@ -68,7 +68,7 @@ execute_and_read_po_output (const char *progname,
   int exitstatus;
 
   /* Open a pipe to the C# execution engine.  */
-  child = create_pipe_in (progname, prog_path, prog_argv, NULL,
+  child = create_pipe_in (progname, prog_path, prog_argv, NULL, NULL,
                           NULL, false, true, true, fd);
 
   fp = fdopen (fd[0], "r");
index 625b2ecb7792d3b60c203325b3d69862121a2122..7fc5aeee928c53cd8bb314a6c423f40d815c36cf 100644 (file)
@@ -103,7 +103,7 @@ msgdomain_read_tcl (const char *locale_name, const char *directory)
     }
 
   /* Open a pipe to the Tcl interpreter.  */
-  child = create_pipe_in ("tclsh", "tclsh", argv, NULL,
+  child = create_pipe_in ("tclsh", "tclsh", argv, NULL, NULL,
                           DEV_NULL, false, true, true, fd);
 
   fp = fdopen (fd[0], "r");
index 361f877ddcd6f5592ff1ffe9de6a3f15df8ef94c..57f79962153367b6b2e684db692520d661b2ef99 100644 (file)
@@ -251,7 +251,7 @@ execute_it (const char *progname,
   (void) private_data;
 
   java_exitcode =
-    execute (progname, prog_path, prog_argv, NULL,
+    execute (progname, prog_path, prog_argv, NULL, NULL,
              true, true, false, false, true, false, NULL);
   /* Exit code 0 means success, 2 means timed out.  */
   return !(java_exitcode == 0 || java_exitcode == 2);
@@ -319,7 +319,7 @@ fetch (const char *url, const char *file)
         argv[0] = "wget";
         argv[1] = "--version";
         argv[2] = NULL;
-        exitstatus = execute ("wget", "wget", argv, NULL,
+        exitstatus = execute ("wget", "wget", argv, NULL, NULL,
                               false, false, true, true, true, false, NULL);
         wget_present = (exitstatus == 0);
         wget_tested = true;
@@ -337,7 +337,7 @@ fetch (const char *url, const char *file)
         argv[6] = "--user-agent"; argv[7] = "urlget";
         argv[8] = url;
         argv[9] = NULL;
-        exitstatus = execute ("wget", "wget", argv, NULL,
+        exitstatus = execute ("wget", "wget", argv, NULL, NULL,
                               true, false, false, false, true, false, NULL);
         if (exitstatus != 127)
           {
@@ -364,7 +364,7 @@ fetch (const char *url, const char *file)
         argv[0] = "lynx";
         argv[1] = "--version";
         argv[2] = NULL;
-        exitstatus = execute ("lynx", "lynx", argv, NULL,
+        exitstatus = execute ("lynx", "lynx", argv, NULL, NULL,
                               false, false, true, true, true, false, NULL);
         lynx_present = (exitstatus == 0);
         lynx_tested = true;
@@ -380,7 +380,7 @@ fetch (const char *url, const char *file)
         argv[2] = "-source";
         argv[3] = url;
         argv[4] = NULL;
-        exitstatus = execute ("lynx", "lynx", argv, NULL,
+        exitstatus = execute ("lynx", "lynx", argv, NULL, NULL,
                               true, false, false, false, true, false, NULL);
         if (exitstatus != 127)
           {
@@ -407,7 +407,7 @@ fetch (const char *url, const char *file)
         argv[0] = "curl";
         argv[1] = "--version";
         argv[2] = NULL;
-        exitstatus = execute ("curl", "curl", argv, NULL,
+        exitstatus = execute ("curl", "curl", argv, NULL, NULL,
                               false, false, true, true, true, false, NULL);
         curl_present = (exitstatus == 0 || exitstatus == 2);
         curl_tested = true;
@@ -423,7 +423,7 @@ fetch (const char *url, const char *file)
         argv[2] = "--user-agent"; argv[3] = "urlget";
         argv[4] = url;
         argv[5] = NULL;
-        exitstatus = execute ("curl", "curl", argv, NULL,
+        exitstatus = execute ("curl", "curl", argv, NULL, NULL,
                               true, false, false, false, true, false, NULL);
         if (exitstatus != 127)
           {
index f520c63d4d8da06a45c934ffd5550370f5a610d8..903ff4d9bd0aaf6f3551a0e2f7ae4848c25a257f 100644 (file)
@@ -72,7 +72,7 @@ execute_writing_input (const char *progname,
   int exitstatus;
 
   /* Open a pipe to the C# execution engine.  */
-  child = create_pipe_out (progname, prog_path, prog_argv, NULL,
+  child = create_pipe_out (progname, prog_path, prog_argv, NULL, NULL,
                            NULL, false, true, true, fd);
 
   fp = fdopen (fd[0], "wb");
index 72b94e6ee0d4eed146c6657898641fe756e93f92..7fadc4d04a9eb40666d0319ed2cb034677c8acb3 100644 (file)
@@ -134,7 +134,7 @@ extract_ruby (const char *found_in_dir, const char *real_filename,
           free (command);
         }
 
-      child = create_pipe_in (progname, progname, argv, found_in_dir,
+      child = create_pipe_in (progname, progname, argv, NULL, found_in_dir,
                               DEV_NULL, false, true, true, fd);
 
       fp = fdopen (fd[0], "r");