| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
1. open($fh,"+<",undef); # add test to t/io/open.t
2. open($fh,"+<",\$var); # New test t/lib/io_scalar.t
p4raw-id: //depot/perlio@9318
|
|
|
|
|
|
|
|
|
|
|
|
| |
- open process creates AV of layer/arg pairs
(appends layers from open() or open.pm to default list).
- push arg is now an SV.
- layer ->Open get passed the AV
- open is no longer mandatory method.
- topmost layer that has ->Open method does the open
- any layers above are pushed once that returns.
- vtable re-ordered so dummy layers need only provide push/pop methods.
p4raw-id: //depot/perlio@9314
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
open($fh,">&STDOUT!")
type code.
- Invent PerlIO_openn() - which has "lots" of args a bit like do_openn() which
is its main caller. In particular now has access to "extra" args, and
can tell when an open handle is "reopened" (or duped?).
- In -Duseperlio PerlIO_open() et. al. are now wrappers on PerlIO_openn().
- In -Uuseperlio (untested as yet) PerlIO_openn() is a wrapper on
PerlIO_open() et. al. (i.e. other way round).
- Collapse "vtable" entries for layers - was fdopen/open/reopen now just open
with args close to PerlIO_openn().
p4raw-id: //depot/perlio@9302
|
|
|
|
|
| |
(Still not "right"...)
p4raw-id: //depot/perlio@8820
|
|
|
|
|
|
|
| |
So now PERLIO=utf8 perl ...
does what Andreas wanted.
Fix arg passing in open.pm (still have a Carp issue).
p4raw-id: //depot/perlio@8511
|
|
|
| |
p4raw-id: //depot/perlio@8202
|
|
|
|
|
| |
open($fh,"<encoding(iso8859-7)",$greek) || die;
p4raw-id: //depot/perlio@8085
|
|
|
|
|
|
|
|
| |
Allow arg to layers e.g. open($fh,"<:encode(iso8859-15)",$name)
syntax is modelled on attributes.
Untested fix for io/utf8 on Win32 etc.
Very clumsy start to the encode layer.
p4raw-id: //depot/perlio@8076
|
|
|
| |
p4raw-id: //depot/perlio@7983
|
|
|
|
|
|
|
|
|
|
|
| |
Make 'unix' pass most tests
- do unread by temporary push of layer ("pending") holding unread chars
- fast_gets is now based on per-handle flag
- relax one of io/pipe.t tests to allow print to fail and close to
succeed so that it passes on unbuffered "unix" layer.
Remaining fail is sporadic and a genuine race condition between
parent/child in fork test.
p4raw-id: //depot/perlio@7942
|
|
|
|
|
|
|
|
| |
crlf layer is now "the" buffer layer and can turn its behaviour on/off.
Lip-service to making stdio layer work on such platforms (untested).
Now fails 3 tests rather than one, checkin to see if I can debug
the issue under linux. (Do not merge.)
p4raw-id: //depot/perlio@7853
|
|
|
|
|
| |
Correct 1st bug - one layer of indirection.
p4raw-id: //depot/perlio@7755
|
|
p4raw-id: //depot/perlio@7684
|