[lttng-dev] [PATCH lttng-modules] Fix formatting in strutils_star_glob_match_char_cb explanation

Francis Deslauriers francis.deslauriers at efficios.com
Fri Mar 17 21:06:00 UTC 2017


Replace tabs for spaces in example scenario

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

diff --git a/lttng-string-utils.c b/lttng-string-utils.c
index 94de1cf..7485380 100644
--- a/lttng-string-utils.c
+++ b/lttng-string-utils.c
@@ -145,139 +145,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 != '\0') {
 		if (p == '\0') {
-- 
2.7.4



More information about the lttng-dev mailing list