From 99ead48a7d0c14b19e4560ed22afba21314a3fd9 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Thu, 10 Nov 2016 11:19:38 +0100 Subject: purify2tasks.pl: Escape backslashes in messages Purify sometimes has file names in its messages. Change-Id: If0fd8306f124a9f59938092ae2bfa4efaca64f5d Reviewed-by: Tobias Hunger --- scripts/purify2tasks.pl | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts') diff --git a/scripts/purify2tasks.pl b/scripts/purify2tasks.pl index 24aa1aafea..655df47b68 100755 --- a/scripts/purify2tasks.pl +++ b/scripts/purify2tasks.pl @@ -53,5 +53,6 @@ while (my $line = ) { # match a warning/error report } elsif ($line =~ /^\[[W|E|I]\] /) { $lastMessage = substr($line, 4); + $lastMessage =~ s/\\/\\\\/g; } } -- cgit v1.2.1