From: Bruno Haible Date: Thu, 24 Dec 2020 03:11:02 +0000 (+0100) Subject: posix_spawn[p]: Fix compilation error on Windows (regr. 2020-12-14). X-Git-Tag: v1.0~3334 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=7fb61502d5a61ad73a3990a214b29d522245c4bc;p=gnulib.git posix_spawn[p]: Fix compilation error on Windows (regr. 2020-12-14). Reported by Adrian Ebeling in . * lib/spawni.c (__spawni): Update function parameters. --- diff --git a/ChangeLog b/ChangeLog index 42e66bbd00..7d38a83d55 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2020-12-23 Bruno Haible + + posix_spawn[p]: Fix compilation error on Windows (regr. 2020-12-14). + Reported by Adrian Ebeling in + . + * lib/spawni.c (__spawni): Update function parameters. + 2020-12-23 Bruno Haible posix_spawn tests: Add two more tests. diff --git a/lib/spawni.c b/lib/spawni.c index 1e20a9726f..06d98b473d 100644 --- a/lib/spawni.c +++ b/lib/spawni.c @@ -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;