Changeset 08e103d4 in mainline for kernel/test/test.c
- Timestamp:
- 2019-02-05T18:26:05Z (6 years ago)
- Children:
- 1d2f85e
- Parents:
- d066259
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-05 16:16:55)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-05 18:26:05)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/test.c
rd066259 r08e103d4 66 66 void **ctx) 67 67 { 68 size_t len = str_ length(input);68 size_t len = str_code_points(input); 69 69 test_t **test = (test_t **) ctx; 70 70 … … 75 75 const char *curname = (*test)->name; 76 76 77 if (str_ length(curname) < len)77 if (str_code_points(curname) < len) 78 78 continue; 79 79 … … 82 82 if (help) 83 83 *help = (*test)->desc; 84 return (curname + str_l size(curname, len));84 return (curname + str_lbytes(curname, len)); 85 85 } 86 86 }
Note:
See TracChangeset
for help on using the changeset viewer.