Changeset 948222e4 in mainline
- Timestamp:
- 2018-03-14T12:04:14Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 963037b0
- Parents:
- 5b61171
- git-author:
- Jiri Svoboda <jiri@…> (2018-03-13 17:02:57)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-03-14 12:04:14)
- Location:
- uspace
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/cat/cat.c
r5b61171 r948222e4 338 338 argc = cli_count_args(argv); 339 339 340 for (c = 0, optreset = 1, optind = 0, opt_ind = 0; c != -1;) { 340 c = 0; 341 optreset = 1; 342 optind = 0; 343 opt_ind = 0; 344 345 while (c != -1) { 341 346 c = getopt_long(argc, argv, "xhvmH:t:b:sn", long_options, &opt_ind); 342 347 switch (c) { -
uspace/app/bdsh/cmds/modules/cmp/cmp.c
r5b61171 r948222e4 123 123 argc = cli_count_args(argv); 124 124 125 for (c = 0, optreset = 1, optind = 0, opt_ind = 0; c != -1;) { 125 c = 0; 126 optreset = 1; 127 optind = 0; 128 opt_ind = 0; 129 130 while (c != -1) { 126 131 c = getopt_long(argc, argv, "hv", long_options, &opt_ind); 127 132 switch (c) { -
uspace/app/bdsh/cmds/modules/cp/cp.c
r5b61171 r948222e4 484 484 argc = cli_count_args(argv); 485 485 486 for (c = 0, optreset = 1, optind = 0, opt_ind = 0; c != -1;) { 486 c = 0; 487 optreset = 1; 488 optind = 0; 489 opt_ind = 0; 490 491 while (c != -1) { 487 492 c = getopt_long(argc, argv, "hvVfirb:", long_options, &opt_ind); 488 493 switch (c) { -
uspace/app/bdsh/cmds/modules/ls/ls.c
r5b61171 r948222e4 356 356 argc = cli_count_args(argv); 357 357 358 for (c = 0, optreset = 1, optind = 0, opt_ind = 0; c != -1;) { 358 c = 0; 359 optreset = 1; 360 optind = 0; 361 opt_ind = 0; 362 363 while (c != -1) { 359 364 c = getopt_long(argc, argv, "hur", long_options, &opt_ind); 360 365 switch (c) { -
uspace/app/bdsh/cmds/modules/mkdir/mkdir.c
r5b61171 r948222e4 168 168 argc = cli_count_args(argv); 169 169 170 for (c = 0, optreset = 1, optind = 0, opt_ind = 0; c != -1;) { 170 c = 0; 171 optreset = 1; 172 optind = 0; 173 opt_ind = 0; 174 175 while (c != -1) { 171 176 c = getopt_long(argc, argv, "pvhVfm:", long_options, &opt_ind); 172 177 switch (c) { -
uspace/app/bdsh/cmds/modules/mkfile/mkfile.c
r5b61171 r948222e4 133 133 argc = cli_count_args(argv); 134 134 135 for (c = 0, optreset = 1, optind = 0, opt_ind = 0; c != -1;) { 135 c = 0; 136 optreset = 1; 137 optind = 0; 138 opt_ind = 0; 139 140 while (c != -1) { 136 141 c = getopt_long(argc, argv, "ps:h", long_options, &opt_ind); 137 142 switch (c) { -
uspace/app/bdsh/cmds/modules/mount/mount.c
r5b61171 r948222e4 141 141 argc = cli_count_args(argv); 142 142 143 for (c = 0, optreset = 1, optind = 0, opt_ind = 0; c != -1;) { 143 c = 0; 144 optreset = 1; 145 optind = 0; 146 opt_ind = 0; 147 148 while (c != -1) { 144 149 c = getopt_long(argc, argv, "i:ht", long_options, &opt_ind); 145 150 switch (c) { -
uspace/app/bdsh/cmds/modules/rm/rm.c
r5b61171 r948222e4 260 260 } 261 261 262 for (c = 0, optreset = 1, optind = 0, opt_ind = 0; c != -1;) { 262 c = 0; 263 optreset = 1; 264 optind = 0; 265 opt_ind = 0; 266 267 while (c != -1) { 263 268 c = getopt_long(argc, argv, "hvrfs", long_options, &opt_ind); 264 269 switch (c) { -
uspace/app/bdsh/cmds/modules/touch/touch.c
r5b61171 r948222e4 88 88 DIR *dirp; 89 89 90 for (c = 0, optreset = 1, optind = 0, longind = 0; c != -1; ) { 90 c = 0; 91 optreset = 1; 92 optind = 0; 93 longind = 0; 94 95 while (c != -1) { 91 96 c = getopt_long(argc, argv, "c", long_options, &longind); 92 97 switch (c) { -
uspace/lib/c/generic/str.c
r5b61171 r948222e4 1360 1360 1361 1361 /* Skip over leading delimiters. */ 1362 for (tmp = cur = 0; 1363 (ch = str_decode(s, &tmp, len)) && str_chr(delim, ch); /**/) 1362 tmp = 0; 1363 cur = 0; 1364 while ((ch = str_decode(s, &tmp, len)) && str_chr(delim, ch)) 1364 1365 cur = tmp; 1365 1366 start = &s[cur]; 1366 1367 1367 1368 /* Skip over token characters. */ 1368 for (tmp = cur;1369 (ch = str_decode(s, &tmp, len)) && !str_chr(delim, ch); /**/)1369 tmp = cur; 1370 while ((ch = str_decode(s, &tmp, len)) && !str_chr(delim, ch)) 1370 1371 cur = tmp; 1371 1372 end = &s[cur];
Note:
See TracChangeset
for help on using the changeset viewer.