FileAccess::isNormal - make sure we check to actual file not the symlink

Authored by mreeves on May 25 2020, 2:53 PM.

Description

FileAccess::isNormal - make sure we check to actual file not the symlink

Catch local links to special files. '/dev' has many of these.

Speed is important here isNormal is called for every file during directory
comparison. It can therefor have great impact on overall performance.

We alse need to in sure that we don't keep looking indefinatly when following
links that point to links. Therefore we hard cap at 15 such links in a chain
and make sure we don't cycle back to something we already saw.

Details

Committed
mreevesMay 25 2020, 2:53 PM
Parents
R983:ab3a79d43e21: Merge branch 'hkarel/kdiff3-check-signal-slot-connect__proposal'
Branches
Unknown
Tags
Unknown