https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6d7ec8c7ec7cb73575c41…
commit 6d7ec8c7ec7cb73575c4122969063031a30a31a8
Author: Pierre Schweitzer <pierre(a)reactos.org>
AuthorDate: Wed Aug 29 08:32:08 2018 +0200
Commit: Pierre Schweitzer <pierre(a)reactos.org>
CommitDate: Wed Aug 29 08:34:30 2018 +0200
[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
---
drivers/filesystems/cdfs/namesup.c | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/drivers/filesystems/cdfs/namesup.c b/drivers/filesystems/cdfs/namesup.c
index 6f375f56ec..96e3aa3d3e 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'<') &&