From owner-freebsd-ports Tue Jun 26 6:40:12 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6301E37B406 for ; Tue, 26 Jun 2001 06:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f5QDe2V19624; Tue, 26 Jun 2001 06:40:02 -0700 (PDT) (envelope-from gnats) Date: Tue, 26 Jun 2001 06:40:02 -0700 (PDT) Message-Id: <200106261340.f5QDe2V19624@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: "Asimov" Subject: Re: ports/28378: p5-Net-IRC-0.70_1 eats irc text with colons in them Reply-To: "Asimov" Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/28378; it has been noted by GNATS. From: "Asimov" To: "Jun Kuriyama" Cc: Subject: Re: ports/28378: p5-Net-IRC-0.70_1 eats irc text with colons in them Date: Tue, 26 Jun 2001 09:31:46 -0400 ok, that seems to have solved the text parsing problem... but i'm still getting some odd warnings [ 214] !WARN! PERL: Use of uninitialized value at /usr/local/lib/perl5/site_perl/5.005/Net/IRC/Connection.pm line 1105. [ 215] !WARN! PERL: Use of uninitialized value at /usr/local/lib/perl5/site_perl/5.005/Net/IRC/Connection.pm line 1131. [ 216] !WARN! PERL: Unknown event type: at /usr/local/lib/perl5/site_perl/5.005/Net/IRC.pm line 150 [ 217] !WARN! PERL: Use of uninitialized value at /usr/local/lib/perl5/site_perl/5.005/Net/IRC/Connection.pm line 1257. [ 218] !WARN! PERL: Funky parse case: at /usr/local/lib/perl5/site_perl/5.005/Net/IRC.pm line 150 it seems to do it on channel join (only the initial join) and on the first line of text it sees, but it also does it at odd other times without the funky parse case. [ 223] !WARN! PERL: Use of uninitialized value at /usr/local/lib/perl5/site_perl/5.005/Net/IRC/Connection.pm line 1105. [ 224] !WARN! PERL: Use of uninitialized value at /usr/local/lib/perl5/site_perl/5.005/Net/IRC/Connection.pm line 1131. [ 225] !WARN! PERL: Unknown event type: at /usr/local/lib/perl5/site_perl/5.005/Net/IRC.pm line 150 i've piddled and piddled with it and cant seem to get it narrowed down to a specific cause.... I hope its of some help at least ----- Original Message ----- From: "Jun Kuriyama" To: "asimov" Cc: Sent: Monday, June 25, 2001 10:11 PM Subject: Re: ports/28378: p5-Net-IRC-0.70_1 eats irc text with colons in them > > Could you try new patch "patch-Connection.pm" attached below? > > > --- Connection.pm.orig Tue May 30 07:12:02 2000 > +++ Connection.pm Wed Jun 13 17:01:06 2001 > @@ -1101,7 +1101,7 @@ > /x) # That ought to do it for now... > { > $line = substr $line, 1 if $line =~ /^:/; > - ($from, $line) = split ":", $line, 2; > + ($from, $line) = $line =~ m/^(\S+\s.*?):(.*)$/; > ($from, $type, @stuff) = split /\s+/, $from; > $type = lc $type; > > > > -- > Jun Kuriyama // IMG SRC, Inc. > // FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message