Don't follow symlinks.

This commit is contained in:
hjp 1998-09-17 10:30:18 +00:00
parent 8134befe68
commit ab63c481af
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ sub waste {
$filename = $dir . "/" . $i; $filename = $dir . "/" . $i;
($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size, ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,
$atime,$mtime,$ctime,$blksize,$blocks) = $atime,$mtime,$ctime,$blksize,$blocks) =
stat($filename); lstat($filename);
if (-d _) { if (-d _) {
($size, $mtime, $atime) = waste($filename); ($size, $mtime, $atime) = waste($filename);