Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Permit to compile with full flags.
authornavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 29 Nov 2010 17:14:45 +0000 (17:14 +0000)
committernavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 29 Nov 2010 17:14:45 +0000 (17:14 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8721 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/gras/Msg/sg_msg.c

index 4e32910..a45a728 100644 (file)
@@ -71,7 +71,7 @@ int gras_socket_im_the_server(gras_socket_t sock) {
   /* This is where the bug is visible. Try to die as loudly as possible */
   xbt_backtrace_display_current();
   ((char*)sock)[sizeof(*sock)+1] = '0'; /* Try to make valgrind angry to see where that damn socket comes from */
-  system(bprintf("cat /proc/%d/maps 1>&2",getpid()));
+  if(system(bprintf("cat /proc/%d/maps 1>&2",getpid()))){}
   INFO6("I'm not the client in socket %p (comm:%p, rdvser=%p, rdvcli=%p) to %s, that's %s",
       sock,sock_data->comm_recv,sock_data->rdv_server,sock_data->rdv_client,
       SIMIX_host_get_name(SIMIX_process_get_host(sock_data->server)),