[lttng-dev] [PATCH lttng-ust] Fix formatting in strutils_star_glob_match explanation

Francis Deslauriers francis.deslauriers at efficios.com
Fri Mar 17 20:55:21 UTC 2017


Replace tabs for spaces in example scenario

Signed-off-by: Francis Deslauriers <francis.deslauriers at efficios.com>
---
 liblttng-ust/string-utils.c | 108 ++++++++++++++++++++++----------------------
 1 file changed, 54 insertions(+), 54 deletions(-)

diff --git a/liblttng-ust/string-utils.c b/liblttng-ust/string-utils.c
index d597da3..cc61038 100644
--- a/liblttng-ust/string-utils.c
+++ b/liblttng-ust/string-utils.c
@@ -124,139 +124,139 @@ retry:
 	 * Example:
 	 *
 	 *     candidate: hi ev every onyx one
-	 *		^
+	 *                ^
 	 *     pattern:   hi*every*one
-	 *		^
+	 *                ^
 	 *
 	 *     candidate: hi ev every onyx one
-	 *		 ^
+	 *                 ^
 	 *     pattern:   hi*every*one
-	 *		 ^
+	 *                 ^
 	 *
 	 *     candidate: hi ev every onyx one
-	 *		  ^
+	 *                  ^
 	 *     pattern:   hi*every*one
-	 *		  ^
+	 *                  ^
 	 *
 	 *     candidate: hi ev every onyx one
-	 *		  ^
+	 *                  ^
 	 *     pattern:   hi*every*one
-	 *		   ^ MISMATCH
+	 *                   ^ MISMATCH
 	 *
 	 *     candidate: hi ev every onyx one
-	 *		   ^
+	 *                   ^
 	 *     pattern:   hi*every*one
-	 *		   ^
+	 *                   ^
 	 *
 	 *     candidate: hi ev every onyx one
-	 *		   ^^
+	 *                   ^^
 	 *     pattern:   hi*every*one
-	 *		   ^^
+	 *                   ^^
 	 *
 	 *     candidate: hi ev every onyx one
-	 *		   ^ ^
+	 *                   ^ ^
 	 *     pattern:   hi*every*one
-	 *		   ^ ^ MISMATCH
+	 *                   ^ ^ MISMATCH
 	 *
 	 *     candidate: hi ev every onyx one
-	 *		    ^
+	 *                    ^
 	 *     pattern:   hi*every*one
-	 *		   ^ MISMATCH
+	 *                   ^ MISMATCH
 	 *
 	 *     candidate: hi ev every onyx one
-	 *		     ^
+	 *                     ^
 	 *     pattern:   hi*every*one
-	 *		   ^ MISMATCH
+	 *                   ^ MISMATCH
 	 *
 	 *     candidate: hi ev every onyx one
-	 *		      ^
+	 *                      ^
 	 *     pattern:   hi*every*one
-	 *		   ^
+	 *                   ^
 	 *
 	 *     candidate: hi ev every onyx one
-	 *		      ^^
+	 *                      ^^
 	 *     pattern:   hi*every*one
-	 *		   ^^
+	 *                   ^^
 	 *
 	 *     candidate: hi ev every onyx one
-	 *		      ^ ^
+	 *                      ^ ^
 	 *     pattern:   hi*every*one
-	 *		   ^ ^
+	 *                   ^ ^
 	 *
 	 *     candidate: hi ev every onyx one
-	 *		      ^  ^
+	 *                      ^  ^
 	 *     pattern:   hi*every*one
-	 *		   ^  ^
+	 *                   ^  ^
 	 *
 	 *     candidate: hi ev every onyx one
-	 *		      ^   ^
+	 *                      ^   ^
 	 *     pattern:   hi*every*one
-	 *		   ^   ^
+	 *                   ^   ^
 	 *
 	 *     candidate: hi ev every onyx one
-	 *			   ^
+	 *                           ^
 	 *     pattern:   hi*every*one
-	 *			^
+	 *                        ^
 	 *
 	 *     candidate: hi ev every onyx one
-	 *			   ^
+	 *                           ^
 	 *     pattern:   hi*every*one
-	 *			 ^ MISMATCH
+	 *                         ^ MISMATCH
 	 *
 	 *     candidate: hi ev every onyx one
-	 *			    ^
+	 *                            ^
 	 *     pattern:   hi*every*one
-	 *			 ^
+	 *                         ^
 	 *
 	 *     candidate: hi ev every onyx one
-	 *			    ^^
+	 *                            ^^
 	 *     pattern:   hi*every*one
-	 *			 ^^
+	 *                         ^^
 	 *
 	 *     candidate: hi ev every onyx one
-	 *			    ^ ^
+	 *                            ^ ^
 	 *     pattern:   hi*every*one
-	 *			 ^ ^ MISMATCH
+	 *                         ^ ^ MISMATCH
 	 *
 	 *     candidate: hi ev every onyx one
-	 *			     ^
+	 *                             ^
 	 *     pattern:   hi*every*one
-	 *			 ^ MISMATCH
+	 *                         ^ MISMATCH
 	 *
 	 *     candidate: hi ev every onyx one
-	 *			      ^
+	 *                              ^
 	 *     pattern:   hi*every*one
-	 *			 ^ MISMATCH
+	 *                         ^ MISMATCH
 	 *
 	 *     candidate: hi ev every onyx one
-	 *			       ^
+	 *                               ^
 	 *     pattern:   hi*every*one
-	 *			 ^ MISMATCH
+	 *                         ^ MISMATCH
 	 *
 	 *     candidate: hi ev every onyx one
-	 *				^
+	 *                                ^
 	 *     pattern:   hi*every*one
-	 *			 ^ MISMATCH
+	 *                         ^ MISMATCH
 	 *
 	 *     candidate: hi ev every onyx one
-	 *				 ^
+	 *                                 ^
 	 *     pattern:   hi*every*one
-	 *			 ^
+	 *                         ^
 	 *
 	 *     candidate: hi ev every onyx one
-	 *				 ^^
+	 *                                 ^^
 	 *     pattern:   hi*every*one
-	 *			 ^^
+	 *                         ^^
 	 *
 	 *     candidate: hi ev every onyx one
-	 *				 ^ ^
+	 *                                 ^ ^
 	 *     pattern:   hi*every*one
-	 *			 ^ ^
+	 *                         ^ ^
 	 *
 	 *     candidate: hi ev every onyx one
-	 *				 ^  ^
+	 *                                 ^  ^
 	 *     pattern:   hi*every*one
-	 *			 ^  ^ SUCCESS
+	 *                         ^  ^ SUCCESS
 	 */
 	while ((c - candidate) < candidate_len && *c != '\0') {
 		assert(*c);
-- 
2.7.4



More information about the lttng-dev mailing list