- Make the drive letter to uppercase in RtlDosPathNameToNtPathName_U.
Modified: trunk/reactos/lib/ntdll/rtl/path.c
_____
Modified: trunk/reactos/lib/ntdll/rtl/path.c
--- trunk/reactos/lib/ntdll/rtl/path.c 2005-01-08 11:59:41 UTC (rev
12885)
+++ trunk/reactos/lib/ntdll/rtl/path.c 2005-01-08 12:47:32 UTC (rev
12886)
@@ -839,6 +839,12 @@
Length = wcslen(fullname + Offset);
memcpy (Buffer + tmpLength, fullname + Offset, (Length + 1) *
sizeof(WCHAR));
Length += tmpLength;
+ if (Type == ABSOLUTE_DRIVE_PATH ||
+ Type == RELATIVE_DRIVE_PATH)
+ {
+ /* make the drive letter to uppercase */
+ Buffer[tmpLength] = towupper(Buffer[tmpLength]);
+ }
/* set NT filename */
ntname->Length = Length * sizeof(WCHAR);
Show replies by date