Skip Menu |
 

This queue is for tickets about the IO-Multiplex CPAN distribution.

Report information
The Basics
Id: 67458
Status: resolved
Priority: 0/
Queue: IO-Multiplex

People
Owner: Nobody in particular
Requestors: g.russell [...] napier.ac.uk
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.12
Fixed in: (no value)



Subject: Writer ignores outbuffer set to "0"
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 378
Download (untitled) / with headers
text/plain 378b
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.
From hookbot [...] gmail.com Thu Apr 14 19: 56:34 2011
MIME-Version: 1.0
X-Spam-Status: No, score=-6.108 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RFC_ABUSE_POST=0.001, SPF_NEUTRAL=0.779, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-18811-1302779360-1215.67458-4-0 [...] rt.cpan.org>
X-Spam-Flag: NO
References: <RT-Ticket-67458 [...] rt.cpan.org> <rt-3.8.HEAD-18811-1302779360-1215.67458-4-0 [...] rt.cpan.org>
X-Virus-Checked: Checked by ClamAV on 16.mx.develooper.com
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <BANLkTimdqwdMQA7WnHwhs5VMraqPwTnwAQ [...] mail.gmail.com>
Content-Type: multipart/alternative; boundary=bcaec520f0bf51656904a0e9ac64
X-Spam-Score: -6.108
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Authentication-Results: hipster.bestpractical.com (amavisd-new); domainkeys=pass header.sender=hookbot [...] gmail.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id B112F24179F for <cpan-bug+IO-Multiplex [...] hipster.bestpractical.com>; Thu, 14 Apr 2011 19:56:34 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kwwwaltzdkBa for <cpan-bug+IO-Multiplex [...] hipster.bestpractical.com>; Thu, 14 Apr 2011 19:56:32 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 82E542416C0 for <bug-IO-Multiplex [...] rt.cpan.org>; Thu, 14 Apr 2011 19:56:32 -0400 (EDT)
Received: (qmail 32213 invoked by uid 103); 14 Apr 2011 23:56:31 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 14 Apr 2011 23:56:31 -0000
Received: from mail-pv0-f178.google.com (HELO mail-pv0-f178.google.com) (74.125.83.178) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Thu, 14 Apr 2011 16:56:28 -0700
Received: by pvg7 with SMTP id 7so2485293pvg.9 for <bug-IO-Multiplex [...] rt.cpan.org>; Thu, 14 Apr 2011 16:56:25 -0700 (PDT)
Received: by 10.68.31.34 with SMTP id x2mr1097671pbh.153.1302825385682; Thu, 14 Apr 2011 16:56:25 -0700 (PDT)
Received: by 10.68.58.101 with HTTP; Thu, 14 Apr 2011 16:56:25 -0700 (PDT)
Delivered-To: cpan-bug+IO-Multiplex [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #67458] Writer ignores outbuffer set to "0"
Domainkey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=aUTiw6yOxoj/PbK0keDVW7yZJiRGPZnC7YQSSji84h/1MUIereSJUwxcedSSH/Gw0e AdMuUvlCz3R1q9BIrQTwVkKQczDI5RaytNccvWg0jtgVolhfME9KJuuhjYYggMZh4AJK vOlggLGIgrfBrvw8/ldtt7Y/nVKRhwa3Y6iPI=
Return-Path: <hookbot [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=f8TAipA2GOOnA511uU6kHaBiJbtQC9CEjkWEN8B/1K8=; b=mUY0l6micRCyzqbL0rbV4jgYjv4XfbJhOplHvrL0/CENG6bMsRyr5IAnRXPEUNep2k jaNyfzBMNsWNB9n8BLQlvSFn0dsLD8IaES+uZfN+OuZYTkPUGjT79jZU2JxdrZEaCFmm pR5i/l+ywVSERNmgj66TIgPlK0C3p0rJFNs9w=
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+IO-Multiplex [...] hipster.bestpractical.com
X-RT-Mail-Extension: io-multiplex
X-Google-Sender-Auth: stR2VSLg-GXPrfGOKb-ubFuXgp4
Sender: hookbot [...] gmail.com
Date: Thu, 14 Apr 2011 17:56:25 -0600
X-Spam-Level:
To: bug-IO-Multiplex [...] rt.cpan.org
From: Rob Brown <bbb [...] cpan.org>
RT-Message-ID: <rt-3.8.HEAD-18806-1302825395-566.67458-0-0 [...] rt.cpan.org>
Content-Length: 0
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Content-Length: 937
Download (untitled) / with headers
text/plain 937b
Thanks, but that might spew warnings if {outbuffer} is undef. On Thu, Apr 14, 2011 at 5:09 AM, Gordon Russell via RT < bug-IO-Multiplex@rt.cpan.org> wrote: Show quoted text
> 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. > >
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 1498
From markov [...] overmeer.net Fri Apr 15 02: 43:45 2011
MIME-Version: 1.0
X-Spam-Status: No, score=-6.9 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-18806-1302825396-578.67458-5-0 [...] rt.cpan.org>
Content-Disposition: inline
X-Spam-Flag: NO
X-Cloudmark-Analysis: v=1.1 cv=FXfX1j538S0toKVv4AeTokQJ/Dr7x98IW2CddS+R9NE= c=1 sm=0 a=wom5GMh1gUkA:10 a=lvM131IbPf8A:10 a=AC4b6R8PCdgA:10 a=kj9zAlcOel0A:10 a=eNcD7ojaAAAA:8 a=TqyCYjmnAAAA:8 a=SNGdGZsoAAAA:8 a=GaazyxkQSpUedhk_bSoA:9 a=vD9RoxVJeBGoTm7bduwA:7 a=CjuIK1q_8ugA:10 a=7XvQL8fRyLAA:10 a=wfPHDGq03-i5KXd-:21 a=06O7IL1jG__mIYZI:21 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117
References: <RT-Ticket-67458 [...] rt.cpan.org> <rt-3.8.HEAD-18811-1302779360-1215.67458-4-0 [...] rt.cpan.org> <BANLkTimdqwdMQA7WnHwhs5VMraqPwTnwAQ [...] mail.gmail.com> <rt-3.8.HEAD-18806-1302825396-578.67458-5-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <20110415064326.GB9094 [...] moon.overmeer.net>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -6.9
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 17AFE241893 for <cpan-bug+io-multiplex [...] hipster.bestpractical.com>; Fri, 15 Apr 2011 02:43:45 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XtWBFojyisE3 for <cpan-bug+io-multiplex [...] hipster.bestpractical.com>; Fri, 15 Apr 2011 02:43:43 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id E2A562416C0 for <bug-io-multiplex [...] rt.cpan.org>; Fri, 15 Apr 2011 02:43:41 -0400 (EDT)
Received: (qmail 4914 invoked by uid 103); 15 Apr 2011 06:43:41 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 15 Apr 2011 06:43:41 -0000
Received: from fep18.mx.upcmail.net (HELO fep18.mx.upcmail.net) (62.179.121.38) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Thu, 14 Apr 2011 23:43:34 -0700
Received: from edge01.upcmail.net ([192.168.13.236]) by viefep18-int.chello.at (InterMail vM.8.01.02.02 201-2260-120-106-20100312) with ESMTP id <20110415064330.RQMB1353.viefep18-int.chello.at [...] edge01.upcmail.net> for <bug-io-multiplex [...] rt.cpan.org>; Fri, 15 Apr 2011 08:43:30 +0200
Received: from moon.overmeer.net ([77.249.10.184]) by edge01.upcmail.net with edge id XijT1g00H3yF1vR01ijUcu; Fri, 15 Apr 2011 08:43:30 +0200
Received: by moon.overmeer.net (Postfix, from userid 1000) id D90C51380; Fri, 15 Apr 2011 08:43:26 +0200 (CEST)
Delivered-To: cpan-bug+io-multiplex [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #67458] Writer ignores outbuffer set to "0"
User-Agent: Mutt/1.5.21 (2010-09-15)
Return-Path: <markov [...] overmeer.net>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+io-multiplex [...] hipster.bestpractical.com
X-RT-Mail-Extension: io-multiplex
Date: Fri, 15 Apr 2011 08:43:26 +0200
X-Sourceip: 77.249.10.184
X-Spam-Level:
To: Rob Brown via RT <bug-IO-Multiplex [...] rt.cpan.org>
From: NLnet webmaster <webmaster [...] nlnet.nl>
RT-Message-ID: <rt-3.8.HEAD-18808-1302849825-1735.67458-0-0 [...] rt.cpan.org>
Content-Length: 1688
Download (untitled) / with headers
text/plain 1.6k
* Rob Brown via RT (bug-IO-Multiplex@rt.cpan.org) [110414 23:56]: Show quoted text
> Queue: IO-Multiplex > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=67458 > > > Thanks, but that might spew warnings if {outbuffer} is undef.
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
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-18808-1302856120-470.67458-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 13
fixed in 1.13
From hookbot [...] gmail.com Fri Apr 15 11: 28:19 2011
CC: Rob Brown <bbb [...] cpan.org>
MIME-Version: 1.0
X-Spam-Status: No, score=-6.108 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RFC_ABUSE_POST=0.001, SPF_NEUTRAL=0.779, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-18808-1302849826-1675.67458-5-0 [...] rt.cpan.org>
X-Spam-Flag: NO
References: <RT-Ticket-67458 [...] rt.cpan.org> <rt-3.8.HEAD-18811-1302779360-1215.67458-4-0 [...] rt.cpan.org> <BANLkTimdqwdMQA7WnHwhs5VMraqPwTnwAQ [...] mail.gmail.com> <rt-3.8.HEAD-18806-1302825396-578.67458-5-0 [...] rt.cpan.org> <20110415064326.GB9094 [...] moon.overmeer.net> <rt-3.8.HEAD-18808-1302849826-1675.67458-5-0 [...] rt.cpan.org>
X-Virus-Checked: Checked by ClamAV on 16.mx.develooper.com
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <BANLkTin=grGAPPgvt2_xEYoU94472ON43A [...] mail.gmail.com>
Content-Type: multipart/alternative; boundary=bcaec544f0061ab73604a0f6b0b2
X-Spam-Score: -6.108
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Authentication-Results: hipster.bestpractical.com (amavisd-new); domainkeys=pass header.sender=hookbot [...] gmail.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id EB585241920 for <cpan-bug+IO-Multiplex [...] hipster.bestpractical.com>; Fri, 15 Apr 2011 11:28:18 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id G-HIsgdyQkwd for <cpan-bug+IO-Multiplex [...] hipster.bestpractical.com>; Fri, 15 Apr 2011 11:28:13 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 1DC18241905 for <bug-IO-Multiplex [...] rt.cpan.org>; Fri, 15 Apr 2011 11:28:12 -0400 (EDT)
Received: (qmail 3029 invoked by uid 103); 15 Apr 2011 15:28:12 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 15 Apr 2011 15:28:12 -0000
Received: from mail-px0-f169.google.com (HELO mail-px0-f169.google.com) (209.85.212.169) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Fri, 15 Apr 2011 08:28:06 -0700
Received: by pxi9 with SMTP id 9so1756267pxi.0 for <bug-IO-Multiplex [...] rt.cpan.org>; Fri, 15 Apr 2011 08:28:04 -0700 (PDT)
Received: by 10.68.58.39 with SMTP id n7mr2254156pbq.220.1302881283782; Fri, 15 Apr 2011 08:28:03 -0700 (PDT)
Received: by 10.68.58.101 with HTTP; Fri, 15 Apr 2011 08:28:03 -0700 (PDT)
Delivered-To: cpan-bug+IO-Multiplex [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #67458] Writer ignores outbuffer set to "0"
Domainkey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=wAuDupADaIplsJC1VD5F3WDUWgjimq2rouNdbYrrw2S9imOxHdRpmpSokxxi41CNu7 3PoJnL846D+U4ROzrzqeGtbpZ92Pzbf08umXmN7BZtF4etos7WaIJK/hZZCM6iopRTfo 87b35zRjxuI1++4L4XzOscEno17Cn4+/xLWoI=
Return-Path: <hookbot [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=P9NpJDIPf1/0Pd7RzoQghZmqq2j823bnda/1PHAY7co=; b=leUidE/SXvPOuItzBlbgXO8a6ZaK67Fh1jCl4dy+5/edJHCRY0b7Q+xPUkfGLCtYRg Eg0RK6wilnBkvrZdF3WX4bnZ+r0+SglStQ90i8gWC9WiR9TLzEbwpUvIAJ4I7A3iR2BK SdPJ+c2IyWkqu5iRll1myp5lglW8bwTHTKCSE=
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+IO-Multiplex [...] hipster.bestpractical.com
X-RT-Mail-Extension: io-multiplex
X-Google-Sender-Auth: _O1TzI-AMzEFyrDBOIIxqJSmsHc
Sender: hookbot [...] gmail.com
Date: Fri, 15 Apr 2011 09:28:03 -0600
X-Spam-Level:
To: bug-IO-Multiplex [...] rt.cpan.org
From: Rob Brown <bbb [...] cpan.org>
RT-Message-ID: <rt-3.8.HEAD-18811-1302881299-344.67458-0-0 [...] rt.cpan.org>
Content-Length: 0
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Content-Length: 2058
This new version 1.13 looks so awesome. Thank you so much Gordon and Mark! -- Rob On Fri, Apr 15, 2011 at 12:43 AM, NLnet webmaster via RT < bug-IO-Multiplex@rt.cpan.org> wrote: Show quoted text
> Queue: IO-Multiplex > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=67458 > > > * Rob Brown via RT (bug-IO-Multiplex@rt.cpan.org) [110414 23:56]:
> > Queue: IO-Multiplex > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=67458 > > > > > Thanks, but that might spew warnings if {outbuffer} is undef.
> > 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 >
> > 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 > > >
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 3430


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.