*AsciiPtr++ = *FileName++ & 0xFF;\r
}\r
\r
- if ((AsciiStrCmp (AsciiFileName, "\\") == 0) || (AsciiStrCmp (AsciiFileName, "/") == 0) || (AsciiStrCmp (AsciiFileName, "") == 0)) {\r
- // Opening '/', '\', or the NULL pathname is trying to open the root directory\r
+ if ((AsciiStrCmp (AsciiFileName, "\\") == 0) ||\r
+ (AsciiStrCmp (AsciiFileName, "/") == 0) ||\r
+ (AsciiStrCmp (AsciiFileName, "") == 0) ||\r
+ (AsciiStrCmp (AsciiFileName, ".") == 0)) {\r
+ // Opening '/', '\', '.', or the NULL pathname is trying to open the root directory\r
IsRoot = TRUE;\r
\r
// Root directory node doesn't have a name.\r