Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes bug in FlashFile O_TRUNC handling. (#611)
There was a bug in how we interpreted the O_TRUNC in FlashFile::open. We were looking for O_WRONLY in the mode bits but O_WRONLY is actually part of the flags bits. === * Fixes bug in FlashFile O_TRUNC handling. * excludes RDONLY mode from truncating.
- Loading branch information