Closed
Bug 576111
Opened 14 years ago
Closed 14 years ago
nsLocalFile::Equals returns false for unnormalized files (symlinks)
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 491245
People
(Reporter: timeless, Unassigned)
Details
Attachments
(1 file)
3.92 KB,
patch
|
Details | Diff | Splinter Review |
Bug 574458 comment 19 Martin Stránský wrote: I think the problem (at least for my box) is caused by symlinks. The profile I use is located at /media/store1/Dokumenty/.mozilla but I have a symlink /home/komat/.mozilla => /media/store1/Dokumenty/.mozilla. I get then in nsLocalFile::Equals for nightly.xpt: inPath = /home/komat/.mozilla/firefox/9bd60pjz.default/extensions/{9669CC8F-B388-42FE-86F4-CB5E7F5A8BDC}/components mPath = /media/store1/Dokumenty/.mozilla/firefox/9bd60pjz.default/extensions/{9669CC8F-B388-42FE-86F4-CB5E7F5A8BDC}/components
iirc we have an ancient bug which talked about this. I think we decided we didn't want equals to say yes. the patch here shows two different approaches. But roughly if we don't do this, then the callers will have to.
ok, i don't understand how the black magic works, but i'm going to trust that someone has decided something
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•