dosfs: Fix file name search

Do not use our long file name entry count to optimize the file name
search. The Unicode comparison must be taken into account.

Close #2939.
This commit is contained in:
Sebastian Huber
2017-03-16 15:12:20 +01:00
parent 89164c67bc
commit d51538bdbe
2 changed files with 17 additions and 18 deletions

View File

@@ -50,7 +50,7 @@ const char rtems_test_name[] = "FSDOSFSNAME 1";
#define NUMBER_OF_DIRECTORIES 8
#define NUMBER_OF_FILES 13
#define NUMBER_OF_DIRECTORIES_INVALID 25
#define NUMBER_OF_DIRECTORIES_DUPLICATED 2
#define NUMBER_OF_DIRECTORIES_DUPLICATED 3
#define NUMBER_OF_MULTIBYTE_NAMES_DUPLICATED 2
#define NUMBER_OF_FILES_DUPLICATED 2
#define NUMBER_OF_NAMES_MULTIBYTE 10
@@ -192,6 +192,15 @@ static const name_duplicates DIRECTORY_DUPLICATES[
"Shrtdir"
}
},
{
"Kurzdir",
3,
{
"kurzdir",
"KURZDIR",
"Kurzdir"
}
},
{
"long_conventional_dir",
3,