Environment settings in override.ini are not used

RESOLVED FIXED

Status

Mozilla Labs
Prism
RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: Matthew Gertner, Assigned: Matthew Gertner)

Tracking

Details

Attachments

(1 attachment)

(Assignee)

Description

8 years ago
With the XULRunner 1.9.2 update, settings in the [Environment] section of override.ini are no longer taken into account by the application (e.g. PRISM_WEBAPP).
(Assignee)

Comment 1

8 years ago
Created attachment 436930 [details] [diff] [review]
Use putenv() instead of SetEnvironmentVariable

For whatever reason, the SetEnvironmentVariable doesn't seem to change the environment in a way that the NSPR routines recognize. Changing to putenv() appears to solve the problem.
Attachment #436930 - Flags: review?(mark.finkle)
Comment on attachment 436930 [details] [diff] [review]
Use putenv() instead of SetEnvironmentVariable

Should we be worried about GetEnvironmentVariableA ?
Attachment #436930 - Flags: review?(mark.finkle) → review+
(Assignee)

Comment 3

8 years ago
Sending        client/stub/nsPrismStub.cpp
Transmitting file data .
Committed revision 65350.
Status: ASSIGNED → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.