Front page | perl.perl5.porters |
Postings from January 2012
From: Leon Timmermans
January 17, 2012 11:33
Message ID: CAHhgV8h4qDkN1VghfkVgOZp91149FWKqWvaqyNB9Ba+ZnrC9yA@mail.gmail.com
On Mon, Oct 17, 2011 at 1:49 AM, Brian Fraser <firstname.lastname@example.org> wrote:
> The bad-but-quick way to fix this is to replace the PerlIO_fdopen()s in
> PerlIO_tmpfile() with PerlIO_openn() calls that pass ":" as the layers
> That's bad because of this:
> <leont> I can think of some situations where it is the wrong thing to do,
> mostly because you push layers after open, instead of opening with the
Still, it may be good enough as a stopgap until the real fix arrives.
> So I'm thinking that the best solution would be to have a tmpfile()
> variation that takes a layers argument, and have the current tmpfile() as a
> wrapper around that.
Yeah, that'd make sense.