]> Savannah Git Hosting - gnulib.git/commitdiff
posix_spawn[p]: Fix compilation error on Windows (regr. 2020-12-14).
authorBruno Haible <bruno@clisp.org>
Thu, 24 Dec 2020 03:11:02 +0000 (04:11 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 24 Dec 2020 04:31:52 +0000 (05:31 +0100)
Reported by Adrian Ebeling <devl@adrian-ebeling.de> in
<https://lists.gnu.org/archive/html/bug-gnulib/2020-12/msg00189.html>.

* lib/spawni.c (__spawni): Update function parameters.

ChangeLog
lib/spawni.c

index 42e66bbd002d66eea44512fa5e2f5d8ba1c8ae98..7d38a83d551ed38540e96f086977cbbd3249670d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2020-12-23  Bruno Haible  <bruno@clisp.org>
+
+       posix_spawn[p]: Fix compilation error on Windows (regr. 2020-12-14).
+       Reported by Adrian Ebeling <devl@adrian-ebeling.de> in
+       <https://lists.gnu.org/archive/html/bug-gnulib/2020-12/msg00189.html>.
+       * lib/spawni.c (__spawni): Update function parameters.
+
 2020-12-23  Bruno Haible  <bruno@clisp.org>
 
        posix_spawn tests: Add two more tests.
index 1e20a9726f773d8738565a2566671109e226b50d..06d98b473d721ec6f403c0c2d60896acb4126d91 100644 (file)
@@ -95,8 +95,8 @@
 int
 __spawni (pid_t *pid, const char *file,
           const posix_spawn_file_actions_t *file_actions,
-          const posix_spawnattr_t *attrp, char *const argv[],
-          char *const envp[], int use_path)
+          const posix_spawnattr_t *attrp, const char *const argv[],
+          const char *const envp[], int use_path)
 {
   /* Not yet implemented.  */
   return ENOSYS;