RTEMS | msdos: Fix file truncated to 0 (!177)

Loris Nardo (@loris.nardo) gitlab at rtems.org
Thu Aug 8 05:06:30 UTC 2024



Loris Nardo created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/177

Project:Branches: loris.nardo/rtems:fat-truncate-0 to rtems/rtos/rtems:main
Author:   Loris Nardo




## 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


<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/177
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240808/9ce2a62a/attachment.htm>


More information about the bugs mailing list