Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
little comment improvement
authorMartin Quinson <martin.quinson@loria.fr>
Wed, 3 Feb 2016 08:05:46 +0000 (09:05 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Wed, 3 Feb 2016 08:05:46 +0000 (09:05 +0100)
tools/cmake/scripts/generate_memcheck_tests.pl

index f57f8a2..96969b9 100755 (executable)
@@ -140,7 +140,7 @@ while ( defined( $line = <MAKETEST> ) ) {
                     }
                     if ( $command =~ /^mkfile\s+(\S+)/) {
                         my $file = $1;
                     }
                     if ( $command =~ /^mkfile\s+(\S+)/) {
                         my $file = $1;
-                        # don't ask me to explain why so many backslashes...
+                        # don't ask me why so many backslashes. http://xkcd.com/1638/
                         $input =~ s/\\/\\\\\\\\/g;
                         $input =~ s/\n/\\\\n/g;
                         $input =~ s/"/\\\\042/g;
                         $input =~ s/\\/\\\\\\\\/g;
                         $input =~ s/\n/\\\\n/g;
                         $input =~ s/"/\\\\042/g;