Closed Bug 14008 Opened 25 years ago Closed 25 years ago

Please use nsSpecialSystemDirectory where appropriate

Categories

(Core Graveyard :: Profile: BackEnd, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED WORKSFORME

People

(Reporter: duncan, Assigned: racham)

Details

When looking for the settings directory or other platform specific file locations,
nsSpecialSystemDirectory should be used instead of platform specific code. This would make
it a lot easier to port the code to other platforms, reduce code duplication and consequent
chances for bugs.

One such example is mozilla/profile/src/nsProfile.cpp, which is now breaking the BeOS
build. I wonder where that code came from, as I had already ported all the other instances
in the Mozilla codebase. Has that instance been rewritten from scratch? Scary...
Assignee: dbragg → racham
Profile.cpp is part of the profile manager, not the Profile migration so it's
not my code.  Re-assigning to racham.
Component: Profile Migration → Profile Manager
changing component
Status: NEW → ASSIGNED
Target Milestone: M12
Target Milestone: M12 → M13
I will try to incorporate this in the code cleanup.
Moving the TFV to M13.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
This appears to be complete.
Status: RESOLVED → VERIFIED
verified use in code
Component: Profile Manager → Profile Manager BackEnd
Moving all Profile Manager bugs to new Profile Manager Backend component.
Profile Manager component to be deleted.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.