aboutsummaryrefslogtreecommitdiffstats
path: root/src/callproc.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (Fcall_process): Call prepare_menu_bars.Richard M. Stallman1993-12-231-2/+8
| | | | (Fgetenv): One arg is maximum.
* (child_setup): Test SETPGRP_RELEASES_CTTY, not IRIX.Richard M. Stallman1993-11-251-5/+5
| | | | (init_callproc): Fix previous change.
* (init_callproc): Maybe add ../lib-src to exec-pathRichard M. Stallman1993-11-241-10/+47
| | | | | | and maybe store it in exec-directory. Maybe put ../etc into data-directory. (init_callproc_1): Part of init_callproc is split out.
* (Fcall_process): Clear synch_process_death andRichard M. Stallman1993-11-111-3/+6
| | | | synch_process_retcode before the vfork.
* Include <paths.h>, not "paths.h".Roland McGrath1993-09-121-1/+1
|
* Include <config.h> instead of "config.h".Roland McGrath1993-09-101-1/+1
|
* (PRIO_PROCESS): Definition deleted.Richard M. Stallman1993-06-301-1/+1
|
* Changes for Irix 4.0, tested this time:Jim Blandy1993-06-181-1/+1
| | | | | | | | | | | | | | | | * s/irix4-0.h: Get rid of our fake definitions for setpgrp and getpgrp. * callproc.c (Fcall_process): Go ahead and use the USG calling convention for setpgrp. * ymakefile (pre-crt0.o): Add rule for this. Perhaps it will help separate-source-directory compilation. * emacs.c (shut_down_emacs): Some USG systems #define EMACS_HAVE_TTY_PGRP; call getpgrp as appropriate for such systems. * sysdep.c (sys_suspend): Call getpgrp as appropriate for USG and non-USG. * process.c [IRIX] (create_process): Don't put child in process group zero before opening the tty; Irix is like USG in this regard.
* * m/iris4d.h (LIB_STANDARD): Do *not* include -lbsd. We areJim Blandy1993-06-171-1/+3
| | | | | | | | now calling the BSD[sg]etpgrp functions directly, so this library is not needed; it just provides the BSD[sg]etpgrp functions under the [sg]etpgrp names. * callproc.c [IRIX] (child_setup): Don't call setpgrp this time. It's already been called up in Fcall_process, and create_process.
* * callproc.c (Fcall_process, child_setup): If IRIX is #defined,Jim Blandy1993-06-171-2/+2
| | | | | | call setpgrp with arguments, even if USG is #defined. * process.c [IRIX] (create_process): Don't call setpgrp before opening the pty. Call it after doing the TIOCNOTTY ioctl.
* * paths.h (PATH_INFO): New path, to edited by the configurationJim Blandy1993-05-251-0/+8
| | | | | | | process. * callproc.c (Vconfigure_info_directory): New variable, used internally by build process. (syms_of_callproc): DEFVAR it and initialize it.
* Updated copyright years.Jim Blandy1993-05-221-1/+1
|
* (child_setup): Omit duplicates from new env array.Richard M. Stallman1993-05-131-3/+27
|
* * callproc.c (relocate_fd): Make messages string literals, notJim Blandy1993-04-101-5/+4
| | | | initialized arrays.
* New macros NULL_DEVICE and EXEC_SUFFIXES, to give the name of theJim Blandy1993-03-301-7/+3
| | | | | | | | | | | equivalent of /dev/null, and the suffixes used by executable files. This is simple, and helps people porting Emacs to other operating systems. * process.h (NULL_DEVICE): Give this a default value. * process.c (Fstart_process): Pass EXEC_SUFFIXES to openp. (Fprocess_send_eof): Use NULL_DEVICE instead of "/dev/null". * callproc.c (Fcall_process): Pass EXEC_SUFFIXES to openp. Use NULL_DEVICE instead of "/dev/null".
* * callproc.c (child_setup): Make sure that in, out, and err areJim Blandy1993-03-201-0/+42
| | | | | not less than three. (relocate_fd): New function.
* * callproc.c (delete_temp_file): Declare this to returnJim Blandy1993-02-221-2/+6
| | | | | | | | | | Lisp_Object, to smooth type-checking. * callproc.c (init_callproc): Move the initialization of Vprocess_environment to its own function. (set_process_environment): This is that. * emacs.c (main): Call set_process_environment earlier than init_callproc.
* * process.c (Fstart_process): Jimb's change of December 11Michael I. Bushnell1993-02-181-1/+1
| | | | | | had a misplaced paren. This only became apparent because of jimb's change on February 8 to Fexpand_file_name. * callproc.c (Fcall_process): Ditto.
* Give subprocess creation a way to find a valid current directoryJim Blandy1992-12-121-11/+29
| | | | | | | | | | | | | | | | | | | for subprocesses when the buffer's default-directory is a handled name. * fileio.c (Funhandled_file_name_directory): New function. (Qunhandled_file_name_directory): New file-name-handler operation. (syms_of_fileio): Defsubr Sunhandled_file_name_directory, and initialize and staticpro Qunhandled_file_name_directory. * callproc.c (Fcall_process): Call Funhandled_file_name_directory on the buffer's default directory. Do it earlier in the function so there's less to GCPRO. * process.c (create_process): Don't check the validity of the buffer's default directory here... (Fstart_process): Instead, do it here; if we call Funhandled_file_name_directory here, there's less GCPROing to do. * callproc.c (Fcall_process_region): Return the value returned by Fcall_process.
* * systty.h, process.c, buffer.h, callproc.c, sysdep.c, dired.c:Jim Blandy1992-11-161-1/+1
| | | | Added VMS changes from Roland Roberts.
* * callproc.c: Arrange for synchronous processes to get SIGINT theJim Blandy1992-10-311-7/+28
| | | | | | | | | | first time the user quits, or SIGKILL if the user quits again. #include "syssignal.h". (call_process_kill): New function. (call_process_cleanup): Send SIGINT to the subprocess, and then arrange to call call_process_kill if the user quits while we wait for it to terminate. (Fcall_process, Fcall_process_region): Doc fix.
* * callproc.c (child_setup): Don't use setpriority; we just need aJim Blandy1992-09-231-1/+5
| | | | simple, portable call to nice here.
* Restored up-to-date version of this file from pogo. What is going onJim Blandy1992-08-071-96/+120
| | | | here?
* Replaced fuctions egetenv, Fgetenv, getenv_internal, which hadJoseph Arceneaux1992-08-061-5/+66
| | | | disappeared.
* entered into RCSRichard M. Stallman1992-08-041-181/+96
|
* *** empty log message ***Richard M. Stallman1992-07-121-2/+2
|
* *** empty log message ***Jim Blandy1992-05-181-16/+20
|
* *** empty log message ***Jim Blandy1992-05-101-13/+7
|
* *** empty log message ***Jim Blandy1992-05-011-5/+15
|
* *** empty log message ***Jim Blandy1992-04-241-1/+2
|
* *** empty log message ***Jim Blandy1992-03-161-0/+3
|
* *** empty log message ***Jim Blandy1992-03-141-2/+6
|
* *** empty log message ***Jim Blandy1992-02-111-0/+3
|
* *** empty log message ***Jim Blandy1992-02-061-34/+56
|
* *** empty log message ***Jim Blandy1992-01-141-26/+70
|
* *** empty log message ***Jim Blandy1991-12-041-7/+21
|
* *** empty log message ***Jim Blandy1991-07-031-14/+0
|
* Initial revisionJim Blandy1991-06-241-0/+525