Skip to content

Commit

Permalink
FileSystem: correct ffind error code for FAT on repeated search witho…
Browse files Browse the repository at this point in the history
…ut wildcard (#24)
  • Loading branch information
VladimirUmek authored Jun 20, 2024
1 parent 1d17502 commit e08dc89
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Components/FileSystem/Source/fs_fat.c
Original file line number Diff line number Diff line change
Expand Up @@ -5792,7 +5792,7 @@ __WEAK fsStatus fat_ffind (const char *fn, fsFileInfo *info, fsFAT_Volume *vol)
/* Explicit search without wildcard */
if (info->fileID != 0) {
/* We found this file already in the previous iteration */
return (fsError);
return (fsFileNotFound);
}
/* Copy name from path information */
memcpy (info->name, pinfo.fn, pinfo.fn_len);
Expand Down
1 change: 1 addition & 0 deletions Documentation/Doxygen/FileSystem/src/fs_rev_hist.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
- removed support for legacy fdelete function
- fixed allocation table write access (regression) when using FAT12
- fixed FAT volume label character checking
- corrected ffind error code for FAT on repeated search without wildcard
</td>
</tr>
<tr>
Expand Down
1 change: 1 addition & 0 deletions Keil.MDK-Middleware.pdsc
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
- removed support for legacy fdelete function
- fixed allocation table write access (regression) when using FAT12
- fixed FAT volume label character checking
- corrected ffind error code for FAT on repeated search without wildcard
USB Component Version 8.0.0
- removed CORE component variants
- changed source config files to headers
Expand Down

0 comments on commit e08dc89

Please sign in to comment.