# HG changeset patch # User Jim Blandy # Date 733532867 0 # Node ID 06fcbff9d381426dbadd64c44611e52903423051 # Parent 17a84e60603b385995ac290dc498ffefd6e46330 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. diff -r 17a84e60603b -r 06fcbff9d381 src/s/vms.h --- a/src/s/vms.h Tue Mar 30 23:05:56 1993 +0000 +++ b/src/s/vms.h Tue Mar 30 23:07:47 1993 +0000 @@ -246,3 +246,5 @@ /* 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:"