changeset 2357:9faa3a02ea97

* process.c [VMS] (DCL_PROMPT): Remove hack. (WIFSTOPPED, WIFSIGNALED, WIFEXITED, XRETCODE, WSTOPSIG, WCOREDUMP, WTERMSIG): New dummy definitions. (deactivate_process): Add missing semicolon.
author Jim Blandy <jimb@redhat.com>
date Thu, 25 Mar 1993 02:27:16 +0000
parents f7b80bd03e70
children e99cada8fb8f
files src/process.c
diffstat 1 files changed, 8 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Thu Mar 25 02:21:51 1993 +0000
+++ b/src/process.c	Thu Mar 25 02:27:16 1993 +0000
@@ -159,12 +159,14 @@
 #endif /* BSD or UNIPLUS or STRIDE */
 #endif /* no WAITTYPE */
 #else /* VMS */
-
-/* For the CMU PTY driver + */
-#define DCL_PROMPT "$ "
-/* This is a hack.  I have no idea what needs to go here, but this */
-/* will get it to compile.  We can fix it later.  rbr */
 #define WAITTYPE int
+#define WIFSTOPPED(w) 0
+#define WIFSIGNALED(w) 0
+#define WIFEXITED(w) ((w) != -1)
+#define WRETCODE(w) (w)
+#define WSTOPSIG(w) (w)
+#define WCOREDUMP(w) 0
+#define WTERMSIG(w) (w)
 #include <ssdef.h>
 #include <iodef.h>
 #include <clidef.h>
@@ -1527,7 +1529,7 @@
       {
 	VMS_PROC_STUFF *get_vms_process_pointer (), *vs;
 	sys$dassgn (outchannel);
-	vs = get_vms_process_pointer (p->pid)
+	vs = get_vms_process_pointer (p->pid);
 	if (vs)
 	  give_back_vms_process_stuff (vs);
       }