# HG changeset patch # User kazz # Date 1275465866 -32400 # Node ID 61bfd8e246fc5299daf7e2cc8d6dc7e83869d9df # Parent 0c7d885f0c92116cf29700b7cd457678d05dee8f send_linda's bug fix, and replace wait_rd() to rd() on dynamic_load diff -r 0c7d885f0c92 -r 61bfd8e246fc Renderer/Test/dynamic_create.cc --- a/Renderer/Test/dynamic_create.cc Wed Jun 02 02:03:40 2010 +0900 +++ b/Renderer/Test/dynamic_create.cc Wed Jun 02 17:04:26 2010 +0900 @@ -98,7 +98,8 @@ if (reply != NULL) { set_position(node, reply); free(reply); - node->seq = psx_wait_rd(sgroot->tid, node->id * 10 + 1); +// node->seq = psx_wait_rd(sgroot->tid, node->id * 10 + 1); + node->seq = psx_rd(sgroot->tid, node->id * 10 + 1); } } @@ -118,7 +119,8 @@ sgroot->createFromXMLmemory(sgroot->tmanager, child, (char *)data, len); child->set_move_collision(moon_move, moon_collision); child->id = serial_id; - child->seq = psx_wait_rd(sgroot->tid, serial_id * 10 + 1); +// child->seq = psx_wait_rd(sgroot->tid, serial_id * 10 + 1); + child->seq = psx_rd(sgroot->tid, serial_id * 10 + 1); return child; } diff -r 0c7d885f0c92 -r 61bfd8e246fc Renderer/Test/send_linda.cc --- a/Renderer/Test/send_linda.cc Wed Jun 02 02:03:40 2010 +0900 +++ b/Renderer/Test/send_linda.cc Wed Jun 02 17:04:26 2010 +0900 @@ -24,7 +24,7 @@ { char *data; if (node->seq == 0) { - } else if ((data = (char *)psx_reply(node->seq)) == NULL) { + } else if ((data = (char *)psx_reply(node->seq)) != NULL) { psx_free(data); } else { node->resend_flag = 1;