Mercurial > hg > xemacs-beta
diff src/process.c @ 859:84762348c6f9
[xemacs-hg @ 2002-06-01 08:06:46 by ben]
fix process problems etc.
process.el: Insert before, not after, point.
buffer.c: Fix bug noted by someone.
console-tty.h, device.h, emacs.c, filelock.c, nt.c, process-nt.c, process-unix.c, process.c, redisplay-tty.c, sysdep.c, sysproc.h, win32.c: Redo problem with syssignal.h/sysproc.h dependence noted by Didier
-- rather than require one included before the other
(error-prone), just include syssignal.h from sysproc.h
where it's needed.
inline.c: Include sysfile.h due to inline funs in that header.
extents.c: Fix bug noted by Andrew Cohen <cohen@andy.bu.edu>.
process-unix.c: Fix other bug noted by Andrew Cohen <cohen@andy.bu.edu>.
process.c: Add process-has-separate-stderr-p, used by call-process-internal.
author | ben |
---|---|
date | Sat, 01 Jun 2002 08:06:55 +0000 |
parents | 1d8fb2eee1bb |
children | 278c743f1578 |
line wrap: on
line diff
--- a/src/process.c Fri May 31 09:38:49 2002 +0000 +++ b/src/process.c Sat Jun 01 08:06:55 2002 +0000 @@ -57,9 +57,8 @@ #include "window.h" #include "sysfile.h" -#include "syssignal.h" /* Always include before sysproc.h and systty.h - -- didier */ #include "sysproc.h" +#include "syssignal.h" #include "systime.h" #include "systty.h" #include "syswait.h" @@ -1126,6 +1125,16 @@ return XPROCESS (process)->separate_stderr; } +DEFUN ("process-has-separate-stderr-p", Fprocess_has_separate_stderr_p, 1, 1, + 0, /* +Return non-nil if process has stderr separate from stdout. +*/ + (process)) +{ + CHECK_PROCESS (process); + return process_has_separate_stderr (process) ? Qt : Qnil; +} + /* Sending data to subprocess */ @@ -2510,6 +2519,7 @@ DEFSUBR (Fprocess_name); DEFSUBR (Fprocess_tty_name); DEFSUBR (Fprocess_command); + DEFSUBR (Fprocess_has_separate_stderr_p); DEFSUBR (Fset_process_buffer); DEFSUBR (Fset_process_stderr_buffer); DEFSUBR (Fprocess_buffer);