aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/process.c b/src/process.c
index 94ffc37ffe7..125a9389341 100644
--- a/src/process.c
+++ b/src/process.c
@@ -1651,11 +1651,11 @@ create_process (Lisp_Object process, char **new_argv, Lisp_Object current_dir)
1651 else 1651 else
1652#endif /* HAVE_PTYS */ 1652#endif /* HAVE_PTYS */
1653 { 1653 {
1654 if (pipe2 (sv, O_CLOEXEC) != 0) 1654 if (emacs_pipe (sv) != 0)
1655 report_file_error ("Creating pipe", Qnil); 1655 report_file_error ("Creating pipe", Qnil);
1656 inchannel = sv[0]; 1656 inchannel = sv[0];
1657 forkout = sv[1]; 1657 forkout = sv[1];
1658 if (pipe2 (sv, O_CLOEXEC) != 0) 1658 if (emacs_pipe (sv) != 0)
1659 { 1659 {
1660 int pipe_errno = errno; 1660 int pipe_errno = errno;
1661 emacs_close (inchannel); 1661 emacs_close (inchannel);
@@ -1667,7 +1667,7 @@ create_process (Lisp_Object process, char **new_argv, Lisp_Object current_dir)
1667 } 1667 }
1668 1668
1669#ifndef WINDOWSNT 1669#ifndef WINDOWSNT
1670 if (pipe2 (wait_child_setup, O_CLOEXEC) != 0) 1670 if (emacs_pipe (wait_child_setup) != 0)
1671 report_file_error ("Creating pipe", Qnil); 1671 report_file_error ("Creating pipe", Qnil);
1672#endif 1672#endif
1673 1673