Closed Bug 5457 Opened 26 years ago Closed 26 years ago

nsFileSpec += operand does not work correctly on Mac

Categories

(Core :: XPCOM, defect, P1)

PowerPC
Mac System 8.5
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: dougt, Assigned: mcmullen)

Details

Appending to a nsFileSpec via the += operand does not work for more than a filename. Here is a code snippet: // initalPath is some real directory nsFileSpec fileSpec(initalPath); fileSpec += "nested/file.txt"; At this point fileSpec does NOT equal the expected initialPath plus "nested/ file.txt". In the diff that I send you John, I have included a testcase that will reproduce this problem. This problem does not exist for windows, and pretty sure it does not for Unix.
Priority: P3 → P2
Target Milestone: M5
Set milestone to M5. John, should you fix this for M5?
This is blocking dougt a little, but I am not sure whether he requires it before M5. I was planning to fix it for M5, but is it required? Doug?
This is not *required* for m5.
Target Milestone: M5 → M6
Doug Turner says he doesn't need this until M6.
Accepting
Changing to P1 the priority of bugs upon whose solution others are waiting.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
QA Contact: 4250 → 4737
Resolution: --- → FIXED
FIx checked in. Assigning dougt as qa contact.
Bulk moving to XPCOM, in preparation for removal of XP File Handling component. (XPFH has received two bugs in ~5 months, and is no longer in active use.)
Component: XP File Handling → XPCOM
You need to log in before you can comment on or make changes to this bug.