erl_interface (erl_connect..c)
Magnus Fröberg
magnus@REDACTED
Wed Apr 2 16:37:02 CEST 2003
Hi
a patch for erl_interface R9B-0 (a similar applies to R8B and R9B-1).
erl_do_receive_msg in erl_connect.c doesn't return the exit
reason in case of ERL_EXIT and ERL_EXIT2.
(erl_rpc and erl_rpc_from are affected)
RCS file: /home/share/erlang/cvsroot/otp/lib/erl_interface/src/erl_connect.c,v
retrieving revision 1.7
diff -u -r1.7 erl_connect.c
--- erl_connect.c 25 Feb 2003 13:36:34 -0000 1.7
+++ erl_connect.c 2 Apr 2003 13:33:06 -0000
@@ -467,6 +467,8 @@
switch (msg.msgtype) {
case ERL_SEND:
case ERL_REG_SEND:
+ case ERL_EXIT:
+ case ERL_EXIT2:
if (ei_decode_term(x->buff, &index, &emsg->msg) < 0)
r = ERL_ERROR;
break;
/Magnus
--
Magnus Fröberg Tel: +46 (0)8 545 55 026
Alteon WebSystems AB Email: magnus@REDACTED
S:t Eriksgatan 44 WWW: http://www.alteonwebsystems.com
SE-112 34 Stockholm, SWEDEN
More information about the erlang-patches
mailing list