u-boot/fs/fat
Heinrich Schuchardt 28cef9ca2e fs: fat: create correct short names
The current function set_name() used to create short names has the
following deficiencies resolved by this patch:

* Long names (e.g. FOO.TXT) are stored even if a short name is enough.
* Short names with spaces are created, e.g. "A     ~1.TXT".
* Short names with illegal characters are created, e.g. "FOO++BAR".
* Debug output does not not consider that the short file name has no
  concluding '\0'.

The solution for the following bug is split of into a separate patch:

* Short file names must be unique.

This patch only provides the loop over possible short file names.

Fixes: c30a15e590 ("FAT: Add FAT write feature")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2020-12-10 09:14:58 +01:00
..
fat.c fs: fat: export fat_next_cluster() 2020-12-10 09:14:58 +01:00
fat_write.c fs: fat: create correct short names 2020-12-10 09:14:58 +01:00
Kconfig fs: FAT: Fix typo in FS_FAT_MAX_CLUSTSIZE description 2018-01-22 16:43:31 -05:00
Makefile spl: fat/fs: Add option to include/exclude FAT write build in SPL 2019-02-01 09:12:48 -05:00