summaryrefslogtreecommitdiff
path: root/dev-util/its4/files/its4-1.1.1-r2-ensure-spaces-in-string-literals.patch
blob: 1d65c44bb7293eff4adfa9aa886ce0f3b996e468 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
From 2f0f98aff51bad9474671e73aa29080c541ca055 Mon Sep 17 00:00:00 2001
From: Thomas Bracht Laumann Jespersen <t@laumann.xyz>
Date: Sat, 19 Feb 2022 07:19:34 +0100
Subject: [PATCH] Ensure spaces between string literals

---
 config.C | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/config.C b/config.C
index 61282e8..c4cf375 100644
--- a/config.C
+++ b/config.C
@@ -103,8 +103,8 @@ NEWLINE
 "         Ignore instances of a particular function name." NEWLINE
 "         This flag can be used as many times as you like." NEWLINE
 "  -I, --ignore-file=filename" NEWLINE
-"         Specify a file to read ignore info from, causing ITS4 to not"NEWLINE
-"         report instances of those functions.  Each function to ignore"NEWLINE
+"         Specify a file to read ignore info from, causing ITS4 to not" NEWLINE
+"         report instances of those functions.  Each function to ignore" NEWLINE
 "         should be on its own line." NEWLINE
 "  -l, --limit=function" NEWLINE
 "         Tells ITS4 not to scan for any functions, except those" NEWLINE
@@ -112,7 +112,7 @@ NEWLINE
 "         times as you want." NEWLINE
 "  -m, --input-mode"
 NEWLINE
-"         Tells ITS4 to print out all non-argv spots at which input can"NEWLINE
+"         Tells ITS4 to print out all non-argv spots at which input can" NEWLINE
 "         enter.  This option causes some other options to be ignored." NEWLINE
 "         Most importantly, the regular scan does not happen, no" NEWLINE
 "         severities are visibly reported, and the cutoff is ignored." NEWLINE
@@ -347,8 +347,8 @@ void ParseOptions(int argc, char **argv, int &index)
       case 'o':
 	if(!optarg)
 	  {
-	    fprintf(stderr, "Warning: option 'o' needs an argument."NEWLINE);
-	    fprintf(stderr, "Writing to stdout."NEWLINE);
+	    fprintf(stderr, "Warning: option 'o' needs an argument." NEWLINE);
+	    fprintf(stderr, "Writing to stdout." NEWLINE);
 	    continue;
 	  }
 	SetOutputFile(optarg);
-- 
2.34.1