* Rob Brown via RT (bug-IO-Multiplex@rt.cpan.org) [110414 23:56]:
Show quoted text
Outbuffer always exists (since last version) to be able to remove
a large number of tests. There where more places with that problem
and apparently one was forgotten to be fixed.
Fix released as 1.13
Show quoted text> On Thu, Apr 14, 2011 at 5:09 AM, Gordon Russell via RT <
> bug-IO-Multiplex@rt.cpan.org> wrote:
>
> > Thu Apr 14 07:09:20 2011: Request 67458 was acted upon.
> > Transaction: Ticket created by drgrussell
> > Queue: IO-Multiplex
> > Subject: Writer ignores outbuffer set to "0"
> > Broken in: 1.12
> > Severity: Critical
> > Owner: Nobody
> > Requestors: g.russell@napier.ac.uk
> > Status: new
> > Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=67458 >
> >
> >
> > Hi. First I just want to say excellent utility
> >
> > if you write the number 0, eg "0", then it does not get sent until the
> > buffer has at least 2 characters in it.
> >
> > Line 691 has:
> > unless ($self->{_fhs}{"$fh"}{outbuffer}) {
> >
> > This is I think a bug, and should be:
> > unless (length($self->{_fhs}{"$fh"}{outbuffer})>0) {
> >
> > This fix works for me in any case.
> > I hope thats useful
> > GOrdon.
--
Regards,
MarkOv
------------------------------------------------------------------------
Mark Overmeer MSc MARKOV Solutions
Mark@Overmeer.net solutions@overmeer.net
http://Mark.Overmeer.net http://solutions.overmeer.net