Erlang Mailing Lists

Author Message

<  Erlang patches mailing list  ~  erl_interface (erl_connect..c)

magnus at bluetail.com
Posted: Wed Apr 02, 2003 2:43 pm Reply with quote
Guest
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
_at__at_ -467,6 +467,8 _at__at_
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

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum