diff options
| author | Jim Blandy | 1993-03-30 23:07:47 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-03-30 23:07:47 +0000 |
| commit | 9cbfb5e4b13df78d5f5ad580c74d824622338215 (patch) | |
| tree | dc339fb118d3dbe9ed1c64c95da70944ce4e13d8 /src | |
| parent | 5437e9f97e19ea0eba3288def1734e61a76ca3c7 (diff) | |
| download | emacs-9cbfb5e4b13df78d5f5ad580c74d824622338215.tar.gz emacs-9cbfb5e4b13df78d5f5ad580c74d824622338215.zip | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/s/vms.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/s/vms.h b/src/s/vms.h index 01041b3e140..dd4769a10bd 100644 --- a/src/s/vms.h +++ b/src/s/vms.h | |||
| @@ -246,3 +246,5 @@ globalref char sdata[]; | |||
| 246 | /* Stdio FILE type has extra indirect on VMS, so must alter this macro. */ | 246 | /* Stdio FILE type has extra indirect on VMS, so must alter this macro. */ |
| 247 | 247 | ||
| 248 | #define PENDING_OUTPUT_COUNT(FILE) ((*(FILE))->_ptr - (*(FILE))->_base) | 248 | #define PENDING_OUTPUT_COUNT(FILE) ((*(FILE))->_ptr - (*(FILE))->_base) |
| 249 | |||
| 250 | #define NULL_DEVICE "NLA0:" | ||