DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25181>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25181

SYMLINK task creates cyclic symlinks





------- Additional Comments From [EMAIL PROTECTED]  2003-12-22 02:03 -------
The patch just attached contains an amended testcase that fails based on this
report with the old code, and a patch to make the amended test case pass.

In doing this I took the position that the recorded symlinks take precedence
over the existing links, since that seems to me to be the case that is likely to
be more common. As the patch stands running a recreate will alter existing links
to match the recorded version. I am not sure if links to files were altered in
the past, but I think that was the behavior (links to directories were
mishandled as per this bug). If it is desired, I could put in an atribute that
controls whether or not links are overwritten and set the behavior to be default
whichever way seems most useful to the rest of the world. Let me know if you
want me to do that.

This overwriting behavior is also covered in the amended testcase.

After I go eat dinner, I am going to check the manual page for symlink to see if
the overwiting behavior is documented and patch it if it is not.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to