Lines Matching refs:todo
531 struct string_list *todo, *done = 0;
539 splitpath(path, splitpath(temp, &todo));
541 } else splitpath(path, &todo);
543 // Iterate through path components in todo, prepend processed ones to done.
544 while (todo) {
545 struct string_list *new = llist_pop(&todo), **tail;
582 if (errno == EINVAL && !todo) break;
587 if (errno != EINVAL && (exact || todo)) goto error;
590 if (fd == -1 && (exact || todo || errno != ENOENT)) goto error;
611 *tail = todo;
612 todo = new;
624 if (todo) try++;
626 temp->next = todo;
627 todo = temp;
635 while (todo) {
637 try = stpcpy(ret+try, todo->str) - ret;
638 free(llist_pop(&todo));
645 llist_traverse(todo, free);