From magnus@REDACTED Wed Sep 3 15:57:09 2003 From: magnus@REDACTED (=?ISO-8859-1?Q?Magnus_Fr=F6berg?=) Date: Wed, 03 Sep 2003 15:57:09 +0200 Subject: erl_interface (erl_connect..c) In-Reply-To: <3E8AF58E.9080501@bluetail.com> References: <3E8AF58E.9080501@bluetail.com> Message-ID: <3F55F335.8040903@bluetail.com> 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 > From vances@REDACTED Sat Sep 13 05:14:50 2003 From: vances@REDACTED (Vance Shipley) Date: Fri, 12 Sep 2003 23:14:50 -0400 Subject: ASN.1 documentation of erlc Message-ID: <20030913031450.GD4135@frogman.motivity.ca> R9C\lib\asn1-1.4.2\doc\html\asn1_ug.html In the ASN1 User's Guide Section 1.3.1 Compile-time Functions it describes using the erlc program. It incorrectly gives the syntax "-i IncludeDir" but in fact it requires a capital 'I' as in "-I IncludeDir". It should be changed in two places; the example: erlc -o ../asnfiles -i ../asnfiles -i /usr/local/standards/asn1 Person.asn and the description: -i IncludeDir Where to search for .asn1db files with info about types and values imported from other modules. This option can be repeated many times if there are several places to search in. The compiler will always search the current directory first. -Vance From sean.hinde@REDACTED Sat Sep 13 19:29:21 2003 From: sean.hinde@REDACTED (Sean Hinde) Date: Sat, 13 Sep 2003 18:29:21 +0100 Subject: Missing OS X patch for run_erl.c Message-ID: Hi, R9C-0 is missing the following patch from the large patch I submitted for R9B-1. Without it OS X cannot create the pipe. Regards, Sean [HugeMac:~/Desktop] sean% diff -u otp_src_R9C-0.orig/erts/etc/unix/run_erl.c otp_src_R9C-0/erts/etc/unix/run_erl.c --- otp_src_R9C-0.orig/erts/etc/unix/run_erl.c Mon Jul 7 13:01:10 2003 +++ otp_src_R9C-0/erts/etc/unix/run_erl.c Sat Sep 13 18:26:53 2003 @@ -738,7 +738,11 @@ */ static int create_fifo(char *name, int perm) { - if ((mknod(name, S_IFIFO | perm, 0) < 0) && (errno != EEXIST)) +#ifdef HAVE_MACH_O_DYLD_H + if ((mkfifo(name, perm) < 0) && (errno != EEXIST)) +#else + if ((mknod(name, S_IFIFO | perm, 0) < 0) && (errno != EEXIST)) +#endif return -1; return 0; }