When I open a file with "r" option, then closing it and opening it again with "a+" mode,
MQX runs in MFS_SHARING_VIOLATION in mfs_open.c:
// If we are opening to write, the file can't already be opened. | |
if ((access == MFS_ACCESS_WRITE_ONLY) || (access == MFS_ACCESS_READ_WRITE)) { | |
error_code = MFS_SHARING_VIOLATION; | |
} |
What's wrong (with my calls)? Any ideas?
Solved! Go to Solution.
It was an application issue. In some circumstances, where was no "closing" between the two "openings".
Hi F.Bilz
Did you solve this problem?
Thanks.
It was an application issue. In some circumstances, where was no "closing" between the two "openings".