Open Bug 480726 Opened 15 years ago Updated 1 year ago
IFile .copy To follows symlinks as copy To Following Links does
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:22.214.171.124) Gecko/20081204 SeaMonkey/1.1.14 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2a1pre) Gecko/20090228 nsIFile.copyTo follows symlinks as copyToFollowingLinks does, but it should copy the link instead of the target of the link. I used XulRunner built from hg trunk pulled today Reproducible: Always Actual Results: it copies the target file or directory the link points to instead of copying the link it self. So both copyTo and copyToFollowingLinks do exactly the same. Expected Results: copyTo should not follow the link but should copy the link. https://developer.mozilla.org/en/NsIFile/copyTo https://developer.mozilla.org/en/NsIFile/copyToFollowingLinks
You need to log in before you can comment on or make changes to this bug.