From 94735f0ad7f67c56afa1513381c73e8f62cd44fc Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Mon, 6 May 2013 00:22:27 -0400 Subject: Remove use of vfork(). GCC was giving us warnings, most OS's now just run fork() when you call vfork(), and looking at the standard definition of vfork() we are a long way from using it safely anyway: you're not allowed to even call a function before you exec(). --- remote-cstms.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'remote-cstms.c') diff --git a/remote-cstms.c b/remote-cstms.c index 713b89a..1c4591b 100644 --- a/remote-cstms.c +++ b/remote-cstms.c @@ -221,11 +221,11 @@ start_remote_job (char **argv, char **envp, int stdin_fd, fflush (stdout); fflush (stderr); - pid = vfork (); + pid = fork (); if (pid < 0) { /* The fork failed! */ - perror_with_name ("vfork", ""); + perror_with_name ("fork", ""); return 1; } else if (pid == 0) -- cgit v1.2.3