mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
Don't use msvcrt functions in kernel32; it will cause bug 3373 to reappear
svn path=/trunk/; revision=34283
This commit is contained in:
@@ -298,7 +298,7 @@ IsValidComputerName (
|
||||
p = (PWCHAR)lpComputerName;
|
||||
while (*p != 0)
|
||||
{
|
||||
if (!(iswalnum(*p) || *p == L'!' || *p == L'@' || *p == L'#' ||
|
||||
if (!(iswctype(*p, _ALPHA | _DIGIT) || *p == L'!' || *p == L'@' || *p == L'#' ||
|
||||
*p == L'$' || *p == L'%' || *p == L'^' || *p == L'&' || *p == L'\'' ||
|
||||
*p == L')' || *p == L'(' || *p == L'.' || *p == L'-' || *p == L'_' ||
|
||||
*p == L'{' || *p == L'}' || *p == L'~'))
|
||||
|
||||
Reference in New Issue
Block a user