Closed
Bug 479608
Opened 17 years ago
Closed 17 years ago
isSymlink from nsIFile allways returns false
Categories
(Core :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 476919
People
(Reporter: georg, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.19) Gecko/20081204 SeaMonkey/1.1.14
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.7pre) Gecko/2009020611
isSymlink from nsIFile always returns false even on symbolic links.
Reproducible: Always
Steps to Reproduce:
1. create a nsIFile reresenting a symbolic link like libxpcom.dylib in XUL.frameworks
var f= Components.classes["@mozilla.org/file/local;1"].createInstance(Components.interfaces.nsILocalFile);
f.initWithPath('/Library/Frameworks/XUL.framework/libxpcom.dylib');
2. call the isSymlink method of the nsIFile
alert(f.exists()+'\n'+f.isSymlink())
Actual Results:
actual result of isSymlink always is false but should be true in case of a symbolic link
Comment 1•17 years ago
|
||
Already fixed in 1.9.1 branch and trunk.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•