https://bz.apache.org/bugzilla/show_bug.cgi?id=60644
Bug ID: 60644
Summary: non-detected self-copy sets all file sizes to zero
length (directory sym-link)
Product: Ant
Version: 1.9.4
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Core tasks
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
if the ant copy task attempts to
copy /dir/file.png /dir/file.png
we see in the output:
[copy] Skipping self-copy of /dir/file.png
and all is fine.
-------------------------------
If we do
ln -s /dir /dir1
and the ant copy task attempts to
copy /dir/file.png /dir1/file.png
then no waring appears and
ls -lart /dir?/file.png
-rw-r--r-- 1 me me 0 Jan 25 16:06 /dir/file.png
-rw-r--r-- 1 me me 0 Jan 25 16:06 /dir1/file.png
==> all files are emptied!
debian stable
--
You are receiving this mail because:
You are the assignee for the bug.