Closed Bug 671564 Opened 13 years ago Closed 13 years ago

Initialize NS_XPCOM_LIBRARY_FILE from NS_GRE_DIR

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla8

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(1 file)

In NS_InitXPCOM2, NS_XPCOM_LIBRARY_FILE is initialized either from the directory given as an argument to the function, if one, or from the directory service with the NS_XPCOM_CURRENT_PROCESS_DIR key otherwise.

In both cases, it ends up being actually wrong, because it initializes with the application directory, not the GRE directory, which makes NS_XPCOM_LIBRARY_FILE return something wrong on xulrunner.
Assignee: nobody → mh+mozilla
Blocks: 671562
Attachment #545926 - Flags: review?(benjamin) → review+
http://hg.mozilla.org/mozilla-central/rev/0d18ffe52cd7
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
Target Milestone: --- → mozilla8
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: