[ros-bugs] [Bug 2482] New: Environment variable %TEMP% is diffferent between english and translated versions
ReactOS.Bugzilla at www.reactos.org
ReactOS.Bugzilla at www.reactos.org
Fri Jul 27 02:12:26 CEST 2007
http://www.reactos.org/bugzilla/show_bug.cgi?id=2482
Summary: Environment variable %TEMP% is diffferent between
english and translated versions
Product: ReactOS
Version: TRUNK
Platform: x86 Hardware
OS/Version: ReactOS
Status: NEW
Severity: normal
Priority: P3
Component: Win32
AssignedTo: ros-bugs at reactos.org
ReportedBy: frode at enkelt.no
QAContact: ros-bugs at reactos.org
When installing with bootcd and choosing english language the environment
variables %TEMP% and %TMP% are set to "C:\Documents and
Settings\Administrator.Reactos\Local Settings\Temp".
But when installing using a language where the Local Settings folder has been
renamed ROS is unable to find the Temp directory, and therefore sets it to
C:\Temp.
In dll\win32\userenv\environment.c DstValue.Buffer uses the english "Local
Settings" term, and GetShortPathNameW is then unable to find the localized
folder. On a Norwegian installation (where the "Local Settings" folder is
called "Lokale innstillinger" the GetShortPathNameW call in environment.c fails
with a ERROR_FILE_NOT_FOUND because it's been told to look for the "Local
Settings" folder.
The problem seems to occur approximately on the RtlExpandEnvironmentStrings_U()
call, and the fact that it doesn't translate the path correctly.
--
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
You are the assignee for the bug, or are watching the assignee.
More information about the Ros-bugs
mailing list