Skip to content

Conversation

@tschak909
Copy link
Collaborator

Mode 0x0c (12) read/write was returning EOF when writing to the end of file.

Code was added to flag this, and to return a successful error if the write is successful.

Mode 0x0c (12) was also returning 0 bytes available for any file that had existing data. This was because the file was not stat() and filesize() had not been adjusted.

There is still a potential for reading and writing within the same file to cause a file size change, however, this will not come into play until seeking and telling (NOTE/POINT) are actually implemented in FS.

@tschak909 tschak909 merged commit fc17f03 into master Jan 24, 2025
14 checks passed
@tschak909 tschak909 deleted the network-fs-write-eof branch January 24, 2025 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants