Closed Bug 557108 Opened 14 years ago Closed 14 years ago

Environment settings in override.ini are not used

Categories

(Mozilla Labs :: Prism, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: matthew.gertner, Assigned: matthew.gertner)

Details

Attachments

(1 file)

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).
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+
Sending        client/stub/nsPrismStub.cpp
Transmitting file data .
Committed revision 65350.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: