Subject: | fcopy() fails on blind symlinks with CopyLink == 0 |
When CopyLink == 0 and the source file is a blind symlink, fcopy() fails
silently, and if invoked by dircopy(), dircopy() exits the current
recursion level and continues, so a directory tree containing a blind
link is copied only partially.
For example, I have a directory containing:
snap.nc -> snap.lnx86.nc
where snap.lnx86.nc doesn't exist. This causes the open() at line 118
in File::Copy to fail.
This condition should at least produce a warning. It would be useful to
have an option to copy the link instead of the target if the target
doesn't exist, i.e. act as if CopyLink == 1.
This is perl, v5.8.5 built for i686-linux