[parrot/parrot] 5ec2f0: [pmc] deprecate StringHandle auto-reopen and auto-...
GitHub
noreply at github.com
Wed Feb 17 13:23:26 UTC 2016
Branch: refs/heads/smoke-me/sh-rw-gh245
Home: https://github.com/parrot/parrot
Commit: 5ec2f0a54e4a210716cb6e00b2cbeae9765b9eec
https://github.com/parrot/parrot/commit/5ec2f0a54e4a210716cb6e00b2cbeae9765b9eec
Author: Reini Urban <rurban at cpanel.net>
Date: 2016-02-17 (Wed, 17 Feb 2016)
Changed paths:
M api.yaml
M compilers/opsc/src/Ops/Emitter.pm
M ext/winxed/compiler.pir
M src/io/api.c
M src/io/utilities.c
M src/pmc/stringhandle.pmc
M t/pmc/stringhandle.t
Log Message:
-----------
[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.
More information about the parrot-commits
mailing list