* ntdll.h: Fix typo in comment.

* path.cc: Ditto.
This commit is contained in:
Corinna Vinschen 2011-07-26 09:54:11 +00:00
parent bce7e6e2a7
commit f4529884e5
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2011-07-26 Corinna Vinschen <corinna@vinschen.de>
* ntdll.h: Fix typo in comment.
* path.cc: Ditto.
2011-07-25 Corinna Vinschen <corinna@vinschen.de> 2011-07-25 Corinna Vinschen <corinna@vinschen.de>
* fhandler_console.cc (fhandler_console::ioctl): Fetch console events * fhandler_console.cc (fhandler_console::ioctl): Fetch console events

View File

@ -1345,7 +1345,7 @@ extern "C"
? prefix->Length : path->Length); ? prefix->Length : path->Length);
return RtlEqualUnicodeString (&p, prefix, caseinsensitive); return RtlEqualUnicodeString (&p, prefix, caseinsensitive);
} }
/* Check if sufffix is a sufffix of path. */ /* Check if suffix is a suffix of path. */
inline inline
BOOL NTAPI RtlEqualUnicodePathSuffix (PUNICODE_STRING path, BOOL NTAPI RtlEqualUnicodePathSuffix (PUNICODE_STRING path,
PUNICODE_STRING suffix, PUNICODE_STRING suffix,

View File

@ -427,7 +427,7 @@ get_nt_native_path (const char *path, UNICODE_STRING& upath, bool dos)
if (dos) if (dos)
{ {
/* Unfortunately we can't just use transform_chars with the tfx_rev_chars /* Unfortunately we can't just use transform_chars with the tfx_rev_chars
table since only leading and trainlig spaces and dots are affected. table since only leading and trailing spaces and dots are affected.
So we step to every backslash and fix surrounding dots and spaces. So we step to every backslash and fix surrounding dots and spaces.
That makes these broken filesystems a bit slower, but, hey. */ That makes these broken filesystems a bit slower, but, hey. */
PWCHAR cp = upath.Buffer + 7; PWCHAR cp = upath.Buffer + 7;