--- toast 2004/02/21 06:27:07 1.298 +++ toast 2004/02/21 20:57:20 1.299 @@ -1061,8 +1061,8 @@ $dir = path($dir, ".."); last if whiledir # figure out how to get down one level from here { - my($pd, $pi) = safestat(path($dir, $_)); - return true unless "$pd $pi" eq $di; + my($pd, $pi) = stat(path($dir, $_)); + return true unless defined($pd) && "$pd $pi" eq $di; push(@names, $_); return false; } $dir;