Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
dont' use basename when not mandatory. Doesn't exist on windows
authorMartin Quinson <martin.quinson@loria.fr>
Sun, 13 Sep 2015 13:47:37 +0000 (15:47 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Sun, 13 Sep 2015 13:47:37 +0000 (15:47 +0200)
src/simdag/sd_daxloader.c

index 8a8c4c5..e48ca55 100644 (file)
@@ -367,8 +367,7 @@ xbt_dynar_t SD_daxload(const char *filename)
   }
 
   if (!acyclic_graph_detail(result)){
   }
 
   if (!acyclic_graph_detail(result)){
-    XBT_ERROR("The DAX described in %s is not a DAG. It contains a cycle.",
-              basename((char*)filename));
+    XBT_ERROR("The DAX described in %s is not a DAG. It contains a cycle.", filename);
     xbt_dynar_foreach(result, cpt, file)
       SD_task_destroy(file);
      xbt_dynar_free_container(&result);
     xbt_dynar_foreach(result, cpt, file)
       SD_task_destroy(file);
      xbt_dynar_free_container(&result);