aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorJim Blandy1993-03-25 02:27:16 +0000
committerJim Blandy1993-03-25 02:27:16 +0000
commitc6c6865d433baae55c03a7e122eaf0e9885f1908 (patch)
treeb841b207d278b011066e3c5ca45a09b523e9a270 /src/process.c
parent2b0739e5600ecc9caa45c06e7ac39e2392205f2b (diff)
downloademacs-c6c6865d433baae55c03a7e122eaf0e9885f1908.tar.gz
emacs-c6c6865d433baae55c03a7e122eaf0e9885f1908.zip
* process.c [VMS] (DCL_PROMPT): Remove hack.
(WIFSTOPPED, WIFSIGNALED, WIFEXITED, XRETCODE, WSTOPSIG, WCOREDUMP, WTERMSIG): New dummy definitions. (deactivate_process): Add missing semicolon.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/process.c b/src/process.c
index a504669ebf0..1e537f736c2 100644
--- a/src/process.c
+++ b/src/process.c
@@ -159,12 +159,14 @@ static Lisp_Object stream_process;
159#endif /* BSD or UNIPLUS or STRIDE */ 159#endif /* BSD or UNIPLUS or STRIDE */
160#endif /* no WAITTYPE */ 160#endif /* no WAITTYPE */
161#else /* VMS */ 161#else /* VMS */
162
163/* For the CMU PTY driver + */
164#define DCL_PROMPT "$ "
165/* This is a hack. I have no idea what needs to go here, but this */
166/* will get it to compile. We can fix it later. rbr */
167#define WAITTYPE int 162#define WAITTYPE int
163#define WIFSTOPPED(w) 0
164#define WIFSIGNALED(w) 0
165#define WIFEXITED(w) ((w) != -1)
166#define WRETCODE(w) (w)
167#define WSTOPSIG(w) (w)
168#define WCOREDUMP(w) 0
169#define WTERMSIG(w) (w)
168#include <ssdef.h> 170#include <ssdef.h>
169#include <iodef.h> 171#include <iodef.h>
170#include <clidef.h> 172#include <clidef.h>
@@ -1527,7 +1529,7 @@ deactivate_process (proc)
1527 { 1529 {
1528 VMS_PROC_STUFF *get_vms_process_pointer (), *vs; 1530 VMS_PROC_STUFF *get_vms_process_pointer (), *vs;
1529 sys$dassgn (outchannel); 1531 sys$dassgn (outchannel);
1530 vs = get_vms_process_pointer (p->pid) 1532 vs = get_vms_process_pointer (p->pid);
1531 if (vs) 1533 if (vs)
1532 give_back_vms_process_stuff (vs); 1534 give_back_vms_process_stuff (vs);
1533 } 1535 }