Closed
Bug 318403
Opened 19 years ago
Closed 19 years ago
profile not found on non-English Windows
Categories
(Webtools Graveyard :: Tinderbox, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: kairo, Assigned: kairo)
Details
Attachments
(1 file)
1.86 KB,
patch
|
chase
:
review+
|
Details | Diff | Splinter Review |
On a non-English Windows, the profile does not reside in "Application Data" but a directory with a localized name.
Contrary to that, the block starting in http://lxr.mozilla.org/mozilla/source/tools/tinderbox/build-seamonkey-util.pl#1110 hardcodes us to use "Application Data" (lines 1113 and 1117).
Lines 1116-1120 are especially interesting, as I fail to see why we are not using %APPDATA% all the time - and it also works well with localized Windows versions.
I have tpol (on the Mozilla1.8-SeaMonkey tree) running on a German WinXP, and it only made it throught the tests correctly once I forced it to use %APPADATA% instead of the construct in line 1117 (I did that by adding a -d check for the english-named dir to line 1116, but from what others tell me, I come to think defaulting to %APPDIR% would be better)
![]() |
Assignee | |
Comment 1•19 years ago
|
||
This patch makes us work also on localized NT-based OSes, as it reverses the logic to first try %APPDATA% and only use %USERPROFILE% with hardcoded "Application Data" subdirectory as a fallback solution.
Updated•19 years ago
|
Attachment #205741 -
Flags: review?(chase) → review+
![]() |
Assignee | |
Comment 2•19 years ago
|
||
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•