Skip to content

msdos: Fix file truncated to 0

Loris Nardo requested to merge loris.nardo/rtems:fat-truncate-0 into main

Summary

msdos: Fix file truncated to 0

Previously the first cluster of the file was not updated when truncating to 0 but was in any case freed. Now the first cluster of the file is updated during the truncation, leaving the directory entry in a consistent state.

Closes #2757 (closed)

Merge request reports