From: Pierre Schweitzer Date: Wed, 29 Aug 2018 06:32:08 +0000 (+0200) Subject: [CDFS] Revert 9d0596a X-Git-Tag: 0.4.12-dev~908 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=6d7ec8c7ec7cb73575c4122969063031a30a31a8 [CDFS] Revert 9d0596a The appropriate fix was the previous one, where the macro for checking legal chars have been fixed. Thanks to MS for their review :-). CORE-14067 --- diff --git a/drivers/filesystems/cdfs/namesup.c b/drivers/filesystems/cdfs/namesup.c index 6f375f56ec2..96e3aa3d3e0 100644 --- a/drivers/filesystems/cdfs/namesup.c +++ b/drivers/filesystems/cdfs/namesup.c @@ -410,17 +410,7 @@ Return Value: Wchar < Add2Ptr( FileName->Buffer, FileName->Length, PWCHAR ); Wchar++) { -#ifndef __REACTOS__ if ((*Wchar < 0xff) && -#else - // - // Check whether ASCII characters are legal. - // We will consider the rest of the characters - // (extended ASCII and unicode) as legal. - // - - if ((*Wchar < 0x80) && -#endif !FsRtlIsAnsiCharacterLegalHpfs( *Wchar, FALSE ) && (*Wchar != L'"') && (*Wchar != L'<') &&