summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPipe.c
diff options
context:
space:
mode:
authorhobbs <hobbs>1999-12-12 02:27:19 (GMT)
committerhobbs <hobbs>1999-12-12 02:27:19 (GMT)
commitb183ce5e032c7c0f144f8f6ba001471e3d6ff802 (patch)
tree09981004145e8084f9d6e139d6691eb554f27fe7 /unix/tclUnixPipe.c
parentcd9655fd919cf88d1b2f8ea9a542de1ba6e5649a (diff)
downloadtcl-b183ce5e032c7c0f144f8f6ba001471e3d6ff802.zip
tcl-b183ce5e032c7c0f144f8f6ba001471e3d6ff802.tar.gz
tcl-b183ce5e032c7c0f144f8f6ba001471e3d6ff802.tar.bz2
* unix/configure.in:
* unix/tcl.m4: * unix/tclUnixPipe.c: removed checking for compatible vfork function and use of the vfork function. Modern VM systems rarely suffer any performance degradation when fork is used, and it solves multiple problems with vfork. Users that still want vfork and add -Dfork=vfork to the compile flags. [Bug: 942 2228 1312]
Diffstat (limited to 'unix/tclUnixPipe.c')
-rw-r--r--unix/tclUnixPipe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tclUnixPipe.c b/unix/tclUnixPipe.c
index 3db9228..0e26414 100644
--- a/unix/tclUnixPipe.c
+++ b/unix/tclUnixPipe.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclUnixPipe.c,v 1.6 1999/12/01 00:08:36 hobbs Exp $
+ * RCS: @(#) $Id: tclUnixPipe.c,v 1.7 1999/12/12 02:27:20 hobbs Exp $
*/
#include "tclInt.h"
@@ -353,7 +353,7 @@ TclpCreateProcess(interp, argc, argv, inputFile, outputFile, errorFile,
}
/*
- * We need to allocate and convert this before the (v)fork
+ * We need to allocate and convert this before the fork
* so it is properly deallocated later
*/
dsArray = (Tcl_DString *) ckalloc(argc * sizeof(Tcl_DString));
@@ -364,7 +364,7 @@ TclpCreateProcess(interp, argc, argv, inputFile, outputFile, errorFile,
}
joinThisError = (errorFile == outputFile);
- pid = vfork();
+ pid = fork();
if (pid == 0) {
fd = GetFd(errPipeOut);