Mercurial > emacs
comparison src/vmsproc.c @ 28417:4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Verify correct object type before returning pointer, using eassert.
* frame.h (XFRAME): Likewise.
* buffer.c (Frename_buffer, Fset_buffer_multibyte,
swap_out_buffer_local_variables, Fmove_overlay): Don't apply XSYMBOL, XBUFFER,
etc, to values that may be nil or of the wrong type.
* data.c (set_internal): Likewise.
* dispextern.h (WINDOW_WANTS_MODELINE_P, WINDOW_WANTS_HEADER_LINE_P): Likewise.
* fileio.c (auto_save_1): Likewise.
* insdel.c (check_markers): Likewise.
* marker.c (buf_charpos_to_bytepos, unchain_marker): Likewise.
* undo.c (record_insert): Likewise.
* vmsproc.c (child_sig): Likewise.
* window.c (unshow_buffer, window_loop): Likewise.
* xterm.c (x_erase_phys_cursor): Likewise.
author | Ken Raeburn <raeburn@raeburn.org> |
---|---|
date | Thu, 30 Mar 2000 09:56:31 +0000 |
parents | a5eaace0fa01 |
children | 002c02db42d3 |
comparison
equal
deleted
inserted
replaced
28416:24ba809218ad | 28417:4b675266db04 |
---|---|
756 int old_errno = errno; | 756 int old_errno = errno; |
757 | 757 |
758 pid = vs->pid; | 758 pid = vs->pid; |
759 sys$setef (vs->eventFlag); | 759 sys$setef (vs->eventFlag); |
760 | 760 |
761 for (tail = Vprocess_alist; XSYMBOL (tail) != XSYMBOL (Qnil); tail = XCDR (tail)) | 761 for (tail = Vprocess_alist; ! NILP (tail); tail = XCDR (tail)) |
762 { | 762 { |
763 proc = XCDR (XCAR (tail)); | 763 proc = XCDR (XCAR (tail)); |
764 p = XPROCESS (proc); | 764 p = XPROCESS (proc); |
765 if (EQ (p->childp, Qt) && XFASTINT (p->pid) == pid) | 765 if (EQ (p->childp, Qt) && XFASTINT (p->pid) == pid) |
766 break; | 766 break; |
767 } | 767 } |
768 | 768 |
769 if (XSYMBOL (tail) == XSYMBOL (Qnil)) | 769 if (NILP (tail)) |
770 return; | 770 return; |
771 | 771 |
772 p->status = Fcons (Qexit, Fcons (make_number (vs->exitStatus), Qnil)) | 772 p->status = Fcons (Qexit, Fcons (make_number (vs->exitStatus), Qnil)) |
773 } | 773 } |
774 | 774 |