![]()
From: Peter C. McCluskey (pcm@rahul.net)
Date: Fri Mar 07 2003 - 20:44:38 CST
bfhyp@sculptors.com (stacie) writes:
> new_sd->next_subdir = insert_point->next_subdir;
> insert_point->next_subdir = new_sd;
> new_sd->prior_subdir = insert_point;
> }
>
>It looks to me like at the spot where new_sd is inserted, all
>of the relevant next_subdir and prior_subdir values are
>updated except for new_sd->next_subdir->prior_subdir, which
>should point to new_sd, but instead keeps its original value.
>So then when a reverse_folders is done, and it traverses
>the ->prior_subdir entries, some subdirs get skipped over,
>which was what i was seeing originally.
Thanks. I've checked in a change to do this.
-- ------------------------------------------------------------------------------ Peter McCluskey | http://www.rahul.net/pcm |
![]()