Closed damianloew closed 1 year ago
I've done a PR solving this however in my testing on imx6ull I wasn't able to observe this bug even before the fix. https://github.com/phoenix-rtos/phoenix-rtos-filesystems/pull/91
Thanks! I confirm that the above issue does no longer occur on imxrt106x target (I assume on other dummyfs targets too)
According to POSIX mentioned area should always be zero-filled after truncating up:
truncate:
ftruncate:
How to reproduce:
The same behavior when using ftruncate
Needed to run test-libc on dummyfs targets