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

Philippe Proulx pproulx at efficios.com
Fri Mar 17 21:24:46 UTC 2017


On Fri, Mar 17, 2017 at 5:06 PM, Francis Deslauriers
<francis.deslauriers at efficios.com> wrote:
>
> Replace tabs for spaces in example scenario

Yes, thank you, it looks like my editor replaced all 8 spaces with
tabs in this comment.

Phil

>
> Signed-off-by: Francis Deslauriers <francis.deslauriers at efficios.com>

Signed-off-by: Philippe Proulx <eeppeliteloop at gmail.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
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev


More information about the lttng-dev mailing list