You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/07/22 05:56:03 UTC
[GitHub] [incubator-nuttx] SPRESENSE opened a new pull request #1442: fs/smartfs: Fix file size corruption when opening with overwriting mode
SPRESENSE opened a new pull request #1442:
URL: https://github.com/apache/incubator-nuttx/pull/1442
## Summary
If a existing file is opened with overwriting mode e.g. fopen(file, "w+"),
the file size will be incorrect after writing any data to the file.
This bug is caused by previous commit 10903b5, and its changes should be
limited to only O_APPEND mode.
## Impact
All of the systems using SmartFS.
## Testing
Call fopen and check it's file size on Spresense board.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #1442: fs/smartfs: Fix file size corruption when opening with overwriting mode
Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged pull request #1442:
URL: https://github.com/apache/incubator-nuttx/pull/1442
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org