Mercurial > hg > octave-nkf
diff src/oct-procbuf.cc @ 3147:894d516b4a00
[project @ 1998-02-06 06:00:08 by jwe]
author | jwe |
---|---|
date | Fri, 06 Feb 1998 06:00:10 +0000 |
parents | 8b262e771614 |
children | a494f93e60ff |
line wrap: on
line diff
--- a/src/oct-procbuf.cc +++ b/src/oct-procbuf.cc @@ -55,7 +55,7 @@ int pipe_fds[2]; - int parent_end, child_end; + volatile int parent_end, child_end; if (is_open ()) return 0; @@ -74,7 +74,11 @@ child_end = pipe_fds[0]; } +#if defined HAVE_VFORK + proc_pid = vfork (); +#else proc_pid = fork (); +#endif if (proc_pid == 0) {