Changeset 84239b1 in mainline for kernel/generic/src/console/kconsole.c
- Timestamp:
- 2018-03-11T19:39:11Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f3d47c97
- Parents:
- 850fd32
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/console/kconsole.c
r850fd32 r84239b1 264 264 } 265 265 266 for (max_match_len_tmp = 0;267 266 max_match_len_tmp = 0; 267 while ((output[max_match_len_tmp] == 268 268 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; 270 271 271 272 max_match_len = max_match_len_tmp; … … 373 374 beg = 0; 374 375 } 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--; 378 379 379 380 if (isspace(current[beg]))
Note:
See TracChangeset
for help on using the changeset viewer.