726 |
pop_stack(pop); |
pop_stack(pop); |
727 |
} |
} |
728 |
while (count_stack(push)) { |
while (count_stack(push)) { |
729 |
char cur[MAXPATHLEN], tmp[MAXPATHLEN]; |
char parent[MAXPATHLEN], cur[MAXPATHLEN], tmp[MAXPATHLEN]; |
730 |
const char *last; |
const char *last; |
731 |
if (count_stack(dirstack)) { |
if (count_stack(dirstack)) { |
732 |
parent = path2fid(join_stack(dirstack)); |
strlimcpy(parent, path2fid(join_stack(dirstack)), sizeof(parent)); |
733 |
suffix = HTML; |
suffix = HTML; |
734 |
} else { |
} else { |
735 |
parent = indexlink; |
strlimcpy(parent, indexlink, sizeof(parent)); |
736 |
suffix = normal_suffix; |
suffix = normal_suffix; |
737 |
} |
} |
738 |
push_stack(dirstack, shift_stack(push)); |
push_stack(dirstack, shift_stack(push)); |