erl_interface (erl_connect..c)
Magnus Fröberg
magnus@REDACTED
Wed Sep 3 15:57:09 CEST 2003
Hi
I noticed that this patch did not make it into R9C-0.
So, here it goes again:
RCS file:
/home/share/erlang/cvsroot/otp/lib/erl_interface/src/legacy/erl_connect.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- lib/erl_interface/src/legacy/erl_connect.c 2 Sep 2003 13:34:31 -0000 1.1
+++ lib/erl_interface/src/legacy/erl_connect.c 3 Sep 2003 13:52:06 -0000 1.2
@@ -281,6 +281,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;
Cheers
/Magnus
Magnus Fröberg wrote:
> 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
>
More information about the erlang-patches
mailing list