Rev 2462 | Rev 3194 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2462 | Rev 2572 | ||
---|---|---|---|
Line 614... | Line 614... | ||
614 | ASSERT(start != NULL); |
614 | ASSERT(start != NULL); |
615 | ASSERT(end != NULL); |
615 | ASSERT(end != NULL); |
616 | 616 | ||
617 | for (i = *start; i < len; i++) { |
617 | for (i = *start; i < len; i++) { |
618 | if (!found_start) { |
618 | if (!found_start) { |
619 | if (is_white(cmdline[i])) |
619 | if (isspace(cmdline[i])) |
620 | (*start)++; |
620 | (*start)++; |
621 | else |
621 | else |
622 | found_start = true; |
622 | found_start = true; |
623 | } else { |
623 | } else { |
624 | if (is_white(cmdline[i])) |
624 | if (isspace(cmdline[i])) |
625 | break; |
625 | break; |
626 | } |
626 | } |
627 | } |
627 | } |
628 | *end = i - 1; |
628 | *end = i - 1; |
629 | 629 |