[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 93aff6e533: Fix Haiku subprocess support
From: |
Po Lu |
Subject: |
master 93aff6e533: Fix Haiku subprocess support |
Date: |
Fri, 28 Oct 2022 07:42:02 -0400 (EDT) |
branch: master
commit 93aff6e5334ee9f398727395b02c2e7913d84bc2
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
Fix Haiku subprocess support
* src/callproc.c: Disable posix_spawn on Haiku until some things
are fixed.
---
src/callproc.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/callproc.c b/src/callproc.c
index 1337d2b9de..4d4b86629c 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -39,7 +39,10 @@ extern char **environ;
&& (defined HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDCHDIR \
|| defined HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDCHDIR_NP) \
&& defined HAVE_DECL_POSIX_SPAWN_SETSID \
- && HAVE_DECL_POSIX_SPAWN_SETSID == 1
+ && HAVE_DECL_POSIX_SPAWN_SETSID == 1 \
+ /* posix_spawnattr_setflags rejects POSIX_SPAWN_SETSID on \
+ Haiku */ \
+ && !defined HAIKU
# include <spawn.h>
# define USABLE_POSIX_SPAWN 1
#else
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 93aff6e533: Fix Haiku subprocess support,
Po Lu <=