[CDFS] Revert 9d0596a
authorPierre Schweitzer <pierre@reactos.org>
Wed, 29 Aug 2018 06:32:08 +0000 (08:32 +0200)
committerPierre Schweitzer <pierre@reactos.org>
Wed, 29 Aug 2018 06:34:30 +0000 (08:34 +0200)
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

drivers/filesystems/cdfs/namesup.c

index 6f375f5..96e3aa3 100644 (file)
@@ -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'<') &&