1
0
Fork 0
forked from len0rd/rockbox
foxbox/firmware/common
William Wilgus fdc3668a6a [BugFix] Multiboot Database duplicate files
When the sd card is mounted into the root namespace the database
picks up files through both paths

previously we hid the mounted drive but this causes issues with users
databases when the drive letter changes

Adds a way to keep track of volumes mounted in the root namespace

Hides the enumerated volume in root

Database:
we can just parse the root directory ('/') and get to any mounted
volume but we can also enumerate a volume in the root directory
when this occurs it leads to multiple entries since the files can
be reached through multiple paths ex, /Foo could also be /SD1/Foo
Instead we will attempt to rewrite the root with any non-hidden volumes
failing that just leave the paths alone

Change-Id: I7bdba8cfaf63902d2a3852d28484bcf8ca317ebd
2024-03-23 01:03:33 -04:00
..
adler32.c crc32/adler32: add full copyright notice to source files 2021-07-31 01:30:39 +00:00
ap_int.c Add proper float formatting to vuprintf 2019-07-19 22:07:41 -04:00
config.c Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes). 2010-05-06 21:04:40 +00:00
crc32-rkw.c Add RKW firmware file format loader 2012-03-04 00:34:26 +01:00
crc32.c crc32/adler32: add full copyright notice to source files 2021-07-31 01:30:39 +00:00
diacritic.c [Bugfix] diacritic.c MRU discards an entry when slot available 2023-04-24 23:13:10 -04:00
dir.c [BugFix] Multiboot Database duplicate files 2024-03-23 01:03:33 -04:00
dircache.c Revert "Extend path_append_ex to truncate compname, remove some strmemdupa" 2023-11-23 21:26:13 -05:00
disk.c disk: Remember the partition number for each volume 2023-09-28 18:07:26 -04:00
disk_cache.c Do some housekeeping with fat.h and SECTOR_SIZE 2017-03-12 22:05:44 -04:00
fdprintf.c Add a small 32-byte write buffer to fdprintf. 2017-11-28 09:01:17 -05:00
file.c Revert "Extend path_append_ex to truncate compname, remove some strmemdupa" 2023-11-23 21:26:13 -05:00
file_internal.c Revert "Extend path_append_ex to truncate compname, remove some strmemdupa" 2023-11-23 21:26:13 -05:00
fileobj_mgr.c [RESTORED!] Allow mounting of any directory as the root directory. 2022-03-03 18:58:07 -05:00
inflate.c inflate: Add helper for getting decompressed data size 2022-03-04 08:44:56 -05:00
linked_list.c linked list: add lld_insert_prev/next() 2022-10-16 16:10:24 +01:00
loader_strerror.c Move load_firmware() to separate file 2013-06-27 13:50:11 +02:00
multiboot.c Bug fix multiboot.c get_redirect_dir didn't reach index 0 2022-11-17 05:36:55 -05:00
pathfuncs.c Revert "Extend path_append_ex to truncate compname, remove some strmemdupa" 2023-11-23 21:26:13 -05:00
rb-loader.c multiboot: Allow searching in volume 0 for redirect file 2022-03-27 09:50:33 -04:00
rb_namespace.c [BugFix] Multiboot Database duplicate files 2024-03-23 01:03:33 -04:00
rectangle.c Add rectangle utility functions 2022-12-01 12:36:28 -05:00
strcasecmp.c Compile fix for mingw-w64 2011-12-04 21:07:06 +00:00
strcasestr.c Added ID3 searching 2005-01-27 22:21:08 +00:00
strlcat.c strlcat use strlcpy for the copy part 2022-11-16 00:36:47 -05:00
strlcpy.c strlcpy finish cleanup 2022-11-17 01:54:46 -05:00
strmemccpy.c replace strlcpy with strmemccpy 2022-11-14 23:56:16 -05:00
strnatcmp.c strnatcmp.c use a fn pointer to call strcmp/strcasecmp 2022-11-17 04:15:38 -05:00
strptokspn.c fix strptokspn, add strcspn, fix splash.c 2022-11-13 01:14:49 -05:00
timefuncs.c timefuncs.c valid_time() should return false if tm == NULL and not try to deref 2021-07-20 23:25:31 +00:00
ucl_decompress.c Add standalone UCL decompressor 2021-05-12 10:35:20 +00:00
unicode.c Remove buflib allocation names, part two 2023-01-13 10:32:54 +00:00
version.c Prevent spurious recompiles on account of changed version. 2014-08-28 15:48:56 +02:00
vuprintf.c Document intentional fallthroughs + fix harmless unintended ones 2021-08-04 18:59:46 +00:00
zip.c Remove buflib allocation names, part two 2023-01-13 10:32:54 +00:00