Mercurial > emacs
comparison src/vmsproc.c @ 9323:d428ab51a1bc
(create_process): Don't use XFASTINT as an lvalue.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Tue, 04 Oct 1994 16:16:33 +0000 |
parents | 40a353de483c |
children | ac7375e60931 |
comparison
equal
deleted
inserted
replaced
9322:0dceca89f978 | 9323:d428ab51a1bc |
---|---|
724 inchannel = vs->eventFlag-1; | 724 inchannel = vs->eventFlag-1; |
725 | 725 |
726 /* Record this as an active process, with its channels. | 726 /* Record this as an active process, with its channels. |
727 As a result, child_setup will close Emacs's side of the pipes. */ | 727 As a result, child_setup will close Emacs's side of the pipes. */ |
728 chan_process[inchannel] = process; | 728 chan_process[inchannel] = process; |
729 XFASTINT (XPROCESS (process)->infd) = inchannel; | 729 XSETFASTINT (XPROCESS (process)->infd, inchannel); |
730 XFASTINT (XPROCESS (process)->outfd) = outchannel; | 730 XSETFASTINT (XPROCESS (process)->outfd, outchannel); |
731 XPROCESS (process)->status = Qrun | 731 XPROCESS (process)->status = Qrun |
732 | 732 |
733 /* Delay interrupts until we have a chance to store | 733 /* Delay interrupts until we have a chance to store |
734 the new fork's pid in its process structure */ | 734 the new fork's pid in its process structure */ |
735 | 735 |
740 | 740 |
741 The CMU PTY driver does not support SETMODEs. | 741 The CMU PTY driver does not support SETMODEs. |
742 */ | 742 */ |
743 write_to_vms_process (vs, NO_ECHO, strlen (NO_ECHO)); | 743 write_to_vms_process (vs, NO_ECHO, strlen (NO_ECHO)); |
744 | 744 |
745 XFASTINT (XPROCESS (process)->pid) = pid; | 745 XSETFASTINT (XPROCESS (process)->pid, pid); |
746 sys$setast (1); | 746 sys$setast (1); |
747 } | 747 } |
748 | 748 |
749 child_sig (vs) | 749 child_sig (vs) |
750 VMS_PROC_STUFF *vs; | 750 VMS_PROC_STUFF *vs; |