summaryrefslogtreecommitdiffstats
path: root/usr.bin/window/wwspawn.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>1998-10-13 15:14:37 +0000
committerdes <des@FreeBSD.org>1998-10-13 15:14:37 +0000
commit43cb8a7cb93931496071f3ec7aa0f9bc83cf82e6 (patch)
treedbeba16fe4f21744d5a9e8d60df1d407fd63e3db /usr.bin/window/wwspawn.c
parentefc55abc0285bfcd0d1f79e5cce0f6d1d3fa1657 (diff)
downloadFreeBSD-src-43cb8a7cb93931496071f3ec7aa0f9bc83cf82e6.zip
FreeBSD-src-43cb8a7cb93931496071f3ec7aa0f9bc83cf82e6.tar.gz
One vfork() changed to fork(); one execl() changed to execv(). The
latter isn't actually called as far as I can see since FreeBSD uses termcap and not terminfo.
Diffstat (limited to 'usr.bin/window/wwspawn.c')
-rw-r--r--usr.bin/window/wwspawn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/window/wwspawn.c b/usr.bin/window/wwspawn.c
index 57e2f66..3588dd8 100644
--- a/usr.bin/window/wwspawn.c
+++ b/usr.bin/window/wwspawn.c
@@ -42,7 +42,7 @@ static char sccsid[] = "@(#)wwspawn.c 8.1 (Berkeley) 6/6/93";
#include <signal.h>
/*
- * There is a dead lock with vfork and closing of pseudo-ports.
+ * There is a dead lock with fork and closing of pseudo-ports.
* So we have to be sneaky about error reporting.
*/
wwspawn(wp, file, argv)
@@ -56,7 +56,7 @@ char **argv;
int s;
s = sigblock(sigmask(SIGCHLD));
- switch (pid = vfork()) {
+ switch (pid = fork()) {
case -1:
wwerrno = WWE_SYS;
ret = -1;
OpenPOWER on IntegriCloud