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

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Fri Mar 17 21:08:55 UTC 2017


merged, thanks!

Mathieu

----- On Mar 17, 2017, at 5:06 PM, Francis Deslauriers francis.deslauriers at efficios.com wrote:

> 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

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com


More information about the lttng-dev mailing list