From 7fb61502d5a61ad73a3990a214b29d522245c4bc Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 24 Dec 2020 04:11:02 +0100 Subject: [PATCH] posix_spawn[p]: Fix compilation error on Windows (regr. 2020-12-14). Reported by Adrian Ebeling in . * lib/spawni.c (__spawni): Update function parameters. --- ChangeLog | 7 +++++++ lib/spawni.c | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 42e66bbd00..7d38a83d55 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 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. * tests/test-posix_spawn-inherit0.c: New file, based on tests/test-posix_spawn-open2.c. 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; -- 2.11.4.GIT