Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Backslashes should be doubled in C strings.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Wed, 28 Mar 2012 14:56:31 +0000 (16:56 +0200)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Wed, 28 Mar 2012 16:22:56 +0000 (18:22 +0200)
Fix xbt_log_extract_hierarchy accordingly.

src/gras/gras.c
tools/doxygen/xbt_log_extract_hierarchy.pl

index 994ab25..b0a652d 100644 (file)
@@ -26,7 +26,7 @@
 #include "portable.h"           /* hexa_*(); signalling stuff */
 
 XBT_LOG_NEW_DEFAULT_CATEGORY(gras,
 #include "portable.h"           /* hexa_*(); signalling stuff */
 
 XBT_LOG_NEW_DEFAULT_CATEGORY(gras,
-                             "All GRAS categories (cf. section \ref GRAS_API)");
+                             "All GRAS categories (cf. section \\ref GRAS_API)");
 static int gras_running_process = 0;
 #if defined(HAVE_SIGNAL) && defined(HAVE_SIGNAL_H)
 static void gras_sigusr_handler(int sig)
 static int gras_running_process = 0;
 #if defined(HAVE_SIGNAL) && defined(HAVE_SIGNAL_H)
 static void gras_sigusr_handler(int sig)
index 7b54550..f61b020 100755 (executable)
@@ -40,6 +40,7 @@ sub cleanup_ctn {
     } else {
        die "Unparsable content: $ctn\n";
     }
     } else {
        die "Unparsable content: $ctn\n";
     }
+    $elms[2] =~ s/\\\\/\\/gs;
     return @elms;
 }
 
     return @elms;
 }