aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.h
diff options
context:
space:
mode:
authorPaul Eggert2016-06-09 21:58:16 -0700
committerPaul Eggert2016-06-09 21:58:53 -0700
commit560202f67513327f5b262e01ebc709ab6855d6f6 (patch)
tree282f79044a059e8bc028b5a24109bdde749e921f /src/process.h
parent48079f68125e75cf581ef2b86b00c5a3851dd6e7 (diff)
downloademacs-560202f67513327f5b262e01ebc709ab6855d6f6.tar.gz
emacs-560202f67513327f5b262e01ebc709ab6855d6f6.zip
Fix XFASTINT of non-fixnum in process status
* src/process.c (decode_status): 3rd arg is now Lisp_Object *, not int *, and is not decoded. All uses changed. (status_message): Do not assume ‘failed’ code is an integer. * src/process.h: Document codes better.
Diffstat (limited to 'src/process.h')
-rw-r--r--src/process.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/process.h b/src/process.h
index a5f690dc55f..4430377877a 100644
--- a/src/process.h
+++ b/src/process.h
@@ -83,7 +83,8 @@ struct Lisp_Process
83 Lisp_Object mark; 83 Lisp_Object mark;
84 84
85 /* Symbol indicating status of process. 85 /* Symbol indicating status of process.
86 This may be a symbol: run, open, or closed. 86 This may be a symbol: run, open, closed, listen, connect, or failed.
87 Or it may be (failed ERR) where ERR is an integer, string or symbol.
87 Or it may be a list, whose car is stop, exit or signal 88 Or it may be a list, whose car is stop, exit or signal
88 and whose cdr is a pair (EXIT_CODE . COREDUMP_FLAG) 89 and whose cdr is a pair (EXIT_CODE . COREDUMP_FLAG)
89 or (SIGNAL_NUMBER . COREDUMP_FLAG). */ 90 or (SIGNAL_NUMBER . COREDUMP_FLAG). */