emulator bug

Martin Bjorklund <>
Tue Mar 19 11:58:07 CET 2002


I apparently messed up the patch file :( Sorry about that.  Here's a
new one.


/martin
-------------- next part --------------
*** otp_src_R8B-0.orig/erts/emulator/beam/io.c	Mon Mar 18 09:13:09 2002
--- otp_src_R8B-0/erts/emulator/beam/io.c	Mon Mar 18 09:10:08 2002
***************
*** 2602,2609 ****
  
      /* unlink port from connected */
      if ((rp = pid2proc(prt->connected)) != NULL)
!         del_link(find_link(&rp->links, LNK_LINK,
!                            make_port2(THIS_NODE, ix), NIL));
  
      if (err == 0)
          return driver_failure_term(ix, am_normal, 0);
--- 2602,2608 ----
  
      /* unlink port from connected */
      if ((rp = pid2proc(prt->connected)) != NULL)
!         del_link(find_link(&rp->links, LNK_LINK, prt->id, NIL));
  
      if (err == 0)
          return driver_failure_term(ix, am_normal, 0);


More information about the erlang-questions mailing list