/* CONSTANTS *****************************************************************/
-const PWCHAR RtlpShortIllegals = L" ;+=[]',\"*\\<>/?:|";
+static const WCHAR *RtlpShortIllegals;
/* FUNCTIONS *****************************************************************/
+
static BOOLEAN
RtlpIsShortIllegal(WCHAR Char)
{
int i;
+ if (!RtlpShortIllegals)
+ RtlpShortIllegals = REACTOS_UCS2(L" ;+=[]',\"*\\<>/?:|");
+
for (i = 0; RtlpShortIllegals[i]; i++)
{
if (Char == RtlpShortIllegals[i])
Context->LastIndexValue = CurrentIndex;
}
+#ifndef LIBCAPTIVE
BOOLEAN STDCALL
RtlIsNameLegalDOS8Dot3(IN PUNICODE_STRING UnicodeName,
return(TRUE);
}
+#endif /* LIBCAPTIVE */
+
/* EOF */