Changeset 3bacee1 in mainline for kernel/generic/src/console/kconsole.c
- Timestamp:
- 2018-04-12T16:27:17Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3cf22f9
- Parents:
- 76d0981d
- git-author:
- Jiri Svoboda <jiri@…> (2018-04-11 19:25:33)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-04-12 16:27:17)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/console/kconsole.c
r76d0981d r3bacee1 86 86 LIST_INITIALIZE(cmd_list); /**< Command list. */ 87 87 88 static wchar_t history[KCONSOLE_HISTORY][MAX_CMDLINE] = { };88 static wchar_t history[KCONSOLE_HISTORY][MAX_CMDLINE] = { }; 89 89 static size_t history_pos = 0; 90 90 … … 166 166 const char *cmdtab_enum(const char *name, const char **h, void **ctx) 167 167 { 168 link_t **startpos = (link_t **) ctx;168 link_t **startpos = (link_t **) ctx; 169 169 size_t namelen = str_length(name); 170 170 … … 376 376 beg = position - 1; 377 377 while ((beg > 0) && (!isspace(current[beg]))) 378 378 beg--; 379 379 380 380 if (isspace(current[beg]))
Note:
See TracChangeset
for help on using the changeset viewer.