Author: jmorlan Date: Thu Jul 3 09:57:37 2008 New Revision: 34283
URL: http://svn.reactos.org/svn/reactos?rev=34283&view=rev Log: Don't use msvcrt functions in kernel32; it will cause bug 3373 to reappear
Modified: trunk/reactos/dll/win32/kernel32/misc/computername.c
Modified: trunk/reactos/dll/win32/kernel32/misc/computername.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/misc/com... ============================================================================== --- trunk/reactos/dll/win32/kernel32/misc/computername.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/kernel32/misc/computername.c [iso-8859-1] Thu Jul 3 09:57:37 2008 @@ -298,7 +298,7 @@ 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'~'))