mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-06-28 18:27:08 -04:00
Fix for unexcepted power failure by adding new implemented function ff_fflush. Improve write interface to complies with Linux lseek syscall. Linux lseek syscall allows to lseek outsite the file size. When write if lseek is out of range, write syscall write data to new offset and fill the gap with zeros. Free RTOS-FAT behaviour doesn't support sparse files, so we need to implement this functionality manually on the sqlite3 vfs inteface layer. Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
23 KiB
23 KiB