[PATCH] scan-build: Remove useless whitespace in File path

Honggyu Kim hong.gyu.kim at lge.com
Sun Jun 7 03:24:20 PDT 2015


This patch removes useless whitespace in File path in index.html
Previously, when a File directory path is copied and pasted as below:
  arch /arm /kernel /stacktrace.c

This patch removes the whitespace between directories and makes the
copied string as below:
  arch/arm/kernel/stacktrace.c

The output looks same in html format, but it makes the copied directory
path can be pasted as it looks.

Signed-off-by: Honggyu Kim <hong.gyu.kim at lge.com>
---
 tools/scan-build/scan-build |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/scan-build/scan-build b/tools/scan-build/scan-build
index ea18536..74aaaae 100755
--- a/tools/scan-build/scan-build
+++ b/tools/scan-build/scan-build
@@ -766,7 +766,7 @@ ENDTEXT
           my $x = shift @fname;
           print OUT $x;
           if ($#fname >= 0) {
-            print OUT "<span class=\"W\"> </span>/";
+            print OUT "/";
           }
         }
       }
-- 
1.7.9.5




More information about the cfe-commits mailing list