Mercurial > emacs
diff src/callproc.c @ 87732:d3276439c0d3
(Fcall_process): Fix previous change.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Sun, 13 Jan 2008 15:15:03 +0000 |
parents | 91da483b3fa5 |
children | c70e45a7acfd |
line wrap: on
line diff
--- a/src/callproc.c Sun Jan 13 00:46:16 2008 +0000 +++ b/src/callproc.c Sun Jan 13 15:15:03 2008 +0000 @@ -471,6 +471,12 @@ else { #ifndef MSDOS + errno = 0; + if (pipe (fd) == -1) + { + emacs_close (filefd); + report_file_error ("Creating process pipe", Qnil); + } #endif #if 0 /* Replaced by close_process_descs */