diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-07-03 15:29:37 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-07-03 15:29:37 (GMT) |
commit | a071f9c13b5242946d0c6cff069a3c08ef7c50e3 (patch) | |
tree | ca24897d987ea2975c78d2e460ae84624e5a755f /unix | |
parent | edd3934b326705a8664319d0e89024ac597650b5 (diff) | |
download | tcl-a071f9c13b5242946d0c6cff069a3c08ef7c50e3.zip tcl-a071f9c13b5242946d0c6cff069a3c08ef7c50e3.tar.gz tcl-a071f9c13b5242946d0c6cff069a3c08ef7c50e3.tar.bz2 |
Remove useless section in tclUnixPort.h
Diffstat (limited to 'unix')
-rw-r--r-- | unix/tclUnixPipe.c | 2 | ||||
-rw-r--r-- | unix/tclUnixPort.h | 17 |
2 files changed, 1 insertions, 18 deletions
diff --git a/unix/tclUnixPipe.c b/unix/tclUnixPipe.c index 48a0e6a..acc3b40 100644 --- a/unix/tclUnixPipe.c +++ b/unix/tclUnixPipe.c @@ -499,7 +499,7 @@ TclpCreateProcess( pid = -1; } } -#else +#else pid = fork(); #endif if (pid == 0) { diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h index 97caad0..c2115df 100644 --- a/unix/tclUnixPort.h +++ b/unix/tclUnixPort.h @@ -636,23 +636,6 @@ 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 - *--------------------------------------------------------------------------- - */ - -# 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__ */ #endif /* __APPLE__ */ /* |