summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-07-24 11:13:58 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-07-24 11:13:58 (GMT)
commit399309020d7f8caf7b710a6a41601159cdc32e30 (patch)
treed057fc8c94b4680c01d3b31e85be1b69913fff2e /unix/tclUnixPort.h
parent7caf2af1db913adaf775172aaa508e3b98274967 (diff)
parent03b881a299157cbb9681157c7842b5d33a6a2e40 (diff)
downloadtcl-399309020d7f8caf7b710a6a41601159cdc32e30.zip
tcl-399309020d7f8caf7b710a6a41601159cdc32e30.tar.gz
tcl-399309020d7f8caf7b710a6a41601159cdc32e30.tar.bz2
Merge 8.6
Diffstat (limited to 'unix/tclUnixPort.h')
-rw-r--r--unix/tclUnixPort.h20
1 files changed, 4 insertions, 16 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h
index 8f13ecd..8d35229 100644
--- a/unix/tclUnixPort.h
+++ b/unix/tclUnixPort.h
@@ -612,23 +612,11 @@ extern char ** environ;
defined(HAVE_WEAK_IMPORT) && MAC_OS_X_VERSION_MIN_REQUIRED < 1050
# warning "Weak import of 64-bit CoreFoundation is not supported, will not run on Mac OS X < 10.5."
# endif
-
-/*
- *---------------------------------------------------------------------------
- * At present, using vfork() instead of fork() causes execve() to fail
- * intermittently on Darwin x86_64. rdar://4685553
- *---------------------------------------------------------------------------
+/* For now, test exec-17.1 fails (I/O setup after closing stdout) with
+ * posix_spawnp(), but the classic implementation (based on fork()+execvp())
+ * works well under macOS quite OK.
*/
-
-# if defined(__x86_64__) && !defined(FIXED_RDAR_4685553)
-# undef USE_VFORK
-# endif /* __x86_64__ */
-/* Workaround problems with vfork() when building with llvm-gcc-4.2 */
-# if defined (__llvm__) && \
- (__GNUC__ > 4 || (__GNUC__ == 4 && (__GNUC_MINOR__ > 2 || \
- (__GNUC_MINOR__ == 2 && __GNUC_PATCHLEVEL__ > 0))))
-# undef USE_VFORK
-# endif /* __llvm__ */
+# undef HAVE_POSIX_SPAWNP
#endif /* __APPLE__ */
/*