Ignore:
Timestamp:
2018-03-11T19:39:11Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f3d47c97
Parents:
850fd32
Message:

And there was much fixing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/console/kconsole.c

    r850fd32 r84239b1  
    264264                        }
    265265
    266                         for (max_match_len_tmp = 0;
    267                             (output[max_match_len_tmp] ==
     266                        max_match_len_tmp = 0;
     267                        while ((output[max_match_len_tmp] ==
    268268                            hint[max_match_len_tmp]) &&
    269                             (max_match_len_tmp < max_match_len); ++max_match_len_tmp);
     269                            (max_match_len_tmp < max_match_len))
     270                                ++max_match_len_tmp;
    270271
    271272                        max_match_len = max_match_len_tmp;
     
    373374                                beg = 0;
    374375                        } else {
    375                                 for (beg = position - 1;
    376                                     (beg > 0) && (!isspace(current[beg]));
    377                                     beg--);
     376                                beg = position - 1;
     377                                while ((beg > 0) && (!isspace(current[beg])))
     378                                    beg--;
    378379
    379380                                if (isspace(current[beg]))
Note: See TracChangeset for help on using the changeset viewer.