Message-ID: <
200112091340580550.008ED513@smtp.chello.at>
(The lstat()s were there in 5.6.1: what happened to them?)
p4raw-id: //depot/perl@13559
$_= ($no_chdir ? $dir_name : $dir_rel ); # $_
# prune may happen here
$prune= 0;
+ # guarantee lstat for directory
+ lstat( $dir_name );
{ &$wanted_callback }; # protect against wild "next"
next if $prune;
}
s|/\.$||;
}
}
+ # guarantee lstat at return to directory
+ lstat( $dir_name );
{ &$wanted_callback }; # protect against wild "next"
}
else {