diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-02-13 15:13:02 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-02-14 08:09:57 +0100 |
commit | 04684cbc436f79339854c4bca22f65bb947f6949 (patch) | |
tree | a4f92987df25bf8fecb44b9d0429008dde0e6302 /cpukit/libfs/src | |
parent | Change version to 4.11.1.99 (diff) | |
download | rtems-04684cbc436f79339854c4bca22f65bb947f6949.tar.bz2 |
dosfs: Fix msdos_find_file_in_directory()
For a filename match the entry must match without anything remaining.
Update #2908.
Diffstat (limited to 'cpukit/libfs/src')
-rw-r--r-- | cpukit/libfs/src/dosfs/msdos_misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libfs/src/dosfs/msdos_misc.c b/cpukit/libfs/src/dosfs/msdos_misc.c index 76dff439a9..39f6ca28a4 100644 --- a/cpukit/libfs/src/dosfs/msdos_misc.c +++ b/cpukit/libfs/src/dosfs/msdos_misc.c @@ -1539,7 +1539,7 @@ msdos_find_file_in_directory ( if (lfn_entry || (lfn_checksum != cs)) entry_matched = false; - else { + else if (filename_size_remaining == 0) { filename_matched = true; rc = msdos_on_entry_found ( fs_info, |