Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
My yearly totally useless commit to SimGrid. The error message
authorHenri Casanova <casanova@fac-dhcp06.ics.hawaii.edu>
Wed, 9 Nov 2011 00:07:48 +0000 (14:07 -1000)
committerHenri Casanova <casanova@fac-dhcp06.ics.hawaii.edu>
Wed, 9 Nov 2011 00:07:48 +0000 (14:07 -1000)
in MSG_task_irecv() mistakenly was about MSG_task_put() due to a bad
cut-and-paste. Only by writing totally bogus MSG code was I able to
fix this horrendous bug that had escaped SimGrid developers for
months...no. I am not ashamed of myself.

src/msg/gos.c

index 4a09c65..de98ec0 100644 (file)
@@ -499,7 +499,7 @@ msg_comm_t MSG_task_irecv(m_task_t *task, const char *name)
 
   if (*task)
     XBT_CRITICAL
-        ("MSG_task_get() was asked to write in a non empty task struct.");
+        ("MSG_task_irecv() was asked to write in a non empty task struct.");
 
   /* Try to receive it by calling SIMIX network layer */
   msg_comm_t comm = xbt_new0(s_msg_comm_t, 1);