1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 18:41:25 -08:00
Commit graph

26 commits

Author SHA1 Message Date
Richard M. Stallman
cd9565badb (child_setup): Omit duplicates from new env array. 1993-05-13 00:21:47 +00:00
Jim Blandy
20c018a065 * callproc.c (relocate_fd): Make messages string literals, not
initialized arrays.
1993-04-10 07:58:30 +00:00
Jim Blandy
5437e9f97e New macros NULL_DEVICE and EXEC_SUFFIXES, to give the name of the
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".
1993-03-30 23:05:56 +00:00
Jim Blandy
426b37aecf * callproc.c (child_setup): Make sure that in, out, and err are
not less than three.
	(relocate_fd): New function.
1993-03-20 21:53:57 +00:00
Jim Blandy
9fefd2bacb * callproc.c (delete_temp_file): Declare this to return
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.
1993-02-22 14:24:42 +00:00
Michael I. Bushnell
82df4891d0 * process.c (Fstart_process): Jimb's change of December 11
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.
1993-02-18 03:43:45 +00:00
Jim Blandy
58616e6755 Give subprocess creation a way to find a valid current directory
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.
1992-12-12 15:31:32 +00:00
Jim Blandy
986ffb2446 * systty.h, process.c, buffer.h, callproc.c, sysdep.c, dired.c:
Added VMS changes from Roland Roberts.
1992-11-16 00:54:53 +00:00
Jim Blandy
d177f19458 * callproc.c: Arrange for synchronous processes to get SIGINT the
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.
1992-10-31 04:53:11 +00:00
Jim Blandy
4f0b9d4994 * callproc.c (child_setup): Don't use setpriority; we just need a
simple, portable call to nice here.
1992-09-23 03:43:10 +00:00
Jim Blandy
e576cab4e2 Restored up-to-date version of this file from pogo. What is going on
here?
1992-08-07 12:28:53 +00:00
Joseph Arceneaux
012c6fcb48 Replaced fuctions egetenv, Fgetenv, getenv_internal, which had
disappeared.
1992-08-06 03:24:07 +00:00
Richard M. Stallman
044512ed54 entered into RCS 1992-08-04 21:22:43 +00:00
Richard M. Stallman
4a095293c4 *** empty log message *** 1992-07-12 03:26:48 +00:00
Jim Blandy
ffd56f97cf *** empty log message *** 1992-05-18 08:14:41 +00:00
Jim Blandy
e065a56e2d *** empty log message *** 1992-05-10 18:15:10 +00:00
Jim Blandy
32676c085c *** empty log message *** 1992-05-01 06:20:46 +00:00
Jim Blandy
4746118aca *** empty log message *** 1992-04-24 08:11:54 +00:00
Jim Blandy
8cf9a8c620 *** empty log message *** 1992-03-16 23:20:07 +00:00
Jim Blandy
91bac16a94 *** empty log message *** 1992-03-14 20:43:29 +00:00
Jim Blandy
b5752bd109 *** empty log message *** 1992-02-11 02:09:48 +00:00
Jim Blandy
77d78be171 *** empty log message *** 1992-02-06 01:02:59 +00:00
Jim Blandy
efb859b44a *** empty log message *** 1992-01-14 08:05:08 +00:00
Jim Blandy
9453ea7be3 *** empty log message *** 1991-12-04 05:48:56 +00:00
Jim Blandy
abc367df62 *** empty log message *** 1991-07-03 00:08:25 +00:00
Jim Blandy
80856e74d8 Initial revision 1991-06-24 23:36:56 +00:00