mbed-os/features/filesystem
Christopher Haster d6db9b5263 littlefs: Fixed file truncation without writes
In the open call, the LFS_O_TRUNC flag was correctly zeroing the file, but
it wasn't actually writing the change out to disk. This went unnoticed because
in the cases where the truncate was followed by a file write, the
updated contents would be written out correctly.

Marking the file as dirty if the file isn't already truncated fixes the
problem with the least impact. Also added better test cases around
truncating files.
2018-01-27 00:59:16 -06:00
..
bd Copy edit littlefs 2017-11-29 16:35:06 -06:00
fat Fix: Sector/Size overflow from uint32_t 2018-01-27 00:57:20 -06:00
littlefs littlefs: Fixed file truncation without writes 2018-01-27 00:59:16 -06:00
Dir.cpp fs: Fix dir open during failure condition 2017-09-22 18:39:52 -05:00
Dir.h Fix doxygen warnings in 'features/filesystem' 2017-06-08 15:48:21 -05:00
File.cpp Correct return type of FileHandle::size() 2017-05-31 15:02:11 +03:00
File.h Correct return type of FileHandle::size() 2017-05-31 15:02:11 +03:00
FileSystem.cpp Build with external tool fails: missing includes 2017-08-30 17:21:53 +02:00
FileSystem.h fs: Added FileSystem::reformat 2017-08-14 17:05:40 -05:00
mbed_filesystem.h Filesystem: Integrate filesystem classes with common mbed.h entry point 2017-02-24 11:56:45 -06:00
mbed_lib.json Filesystem: Integrate filesystem classes with common mbed.h entry point 2017-02-24 11:56:45 -06:00