Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pmc] deprecate StringHandle auto-reopen and auto-read
deprecate PIO_VF_AWAYS_READABLE. (yes, a typo) make StringHandle read/write mode, and auto-reopen strict. StringHandle needs to be consistent with the FileHandle API. I.e. reading from a handle open for writing needs to fail, ditto writing to a handle open for reading. (already tested and handled correctly) Add testcase for read/write mode errors. Add a seek(0,0) to various readall places on closed write-only handles, and change those handles to "rw". Closes GH #245.
- Loading branch information
Reini Urban
committed
Feb 17, 2016
1 parent
98a6e9e
commit 5ec2f0a
Showing
7 changed files
with
146 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters