Commit 9cbfb5e4 authored by Jim Blandy's avatar Jim Blandy

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".
	* s/vms.h (NULL_DEVICE): #define this.
parent 5437e9f9
......@@ -246,3 +246,5 @@ globalref char sdata[];
/* Stdio FILE type has extra indirect on VMS, so must alter this macro. */
#define PENDING_OUTPUT_COUNT(FILE) ((*(FILE))->_ptr - (*(FILE))->_base)
#define NULL_DEVICE "NLA0:"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment