Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
87731:540397b43fb9 | 87732:d3276439c0d3 |
---|---|
469 if (INTEGERP (buffer)) | 469 if (INTEGERP (buffer)) |
470 fd[1] = emacs_open (NULL_DEVICE, O_WRONLY, 0), fd[0] = -1; | 470 fd[1] = emacs_open (NULL_DEVICE, O_WRONLY, 0), fd[0] = -1; |
471 else | 471 else |
472 { | 472 { |
473 #ifndef MSDOS | 473 #ifndef MSDOS |
474 errno = 0; | |
475 if (pipe (fd) == -1) | |
476 { | |
477 emacs_close (filefd); | |
478 report_file_error ("Creating process pipe", Qnil); | |
479 } | |
474 #endif | 480 #endif |
475 #if 0 | 481 #if 0 |
476 /* Replaced by close_process_descs */ | 482 /* Replaced by close_process_descs */ |
477 set_exclusive_use (fd[0]); | 483 set_exclusive_use (fd[0]); |
478 #endif | 484 #endif |