Return-Path: X-Original-To: apmail-perl-dev-archive@www.apache.org Delivered-To: apmail-perl-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9A762C45F for ; Sun, 30 Jun 2013 20:19:40 +0000 (UTC) Received: (qmail 41618 invoked by uid 500); 30 Jun 2013 20:19:39 -0000 Delivered-To: apmail-perl-dev-archive@perl.apache.org Received: (qmail 41573 invoked by uid 500); 30 Jun 2013 20:19:39 -0000 Mailing-List: contact dev-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@perl.apache.org Received: (qmail 41566 invoked by uid 99); 30 Jun 2013 20:19:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Jun 2013 20:19:38 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ntyni@cc.helsinki.fi designates 128.214.173.75 as permitted sender) Received: from [128.214.173.75] (HELO smtp-rs1-vallila2.fe.helsinki.fi) (128.214.173.75) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Jun 2013 20:19:31 +0000 Received: from madeleine.local.invalid (hy-vpn2-102.vpn.helsinki.fi [128.214.129.102]) by smtp-rs1.it.helsinki.fi (8.14.4/8.14.4) with ESMTP id r5UKJ925029084 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Sun, 30 Jun 2013 23:19:10 +0300 Received: from niko by madeleine.local.invalid with local (Exim 4.80) (envelope-from ) id 1UtO5U-0001Rz-T3 for dev@perl.apache.org; Sun, 30 Jun 2013 23:19:08 +0300 Date: Sun, 30 Jun 2013 23:19:08 +0300 From: Niko Tyni To: dev@perl.apache.org Subject: Re: [httpd24] t/directive/perlloadmodule3.t failure Message-ID: <20130630201908.GA5547@madeleine.local.invalid> References: <20130623202139.GA6317@madeleine.local.invalid> <51C829F6.5030800@redhat.com> <20130624211441.GB4875@madeleine.local.invalid> <51C9607C.6070205@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <51C9607C.6070205@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Jun 25, 2013 at 11:18:52AM +0200, Jan Kaluža wrote: > On 06/24/2013 11:14 PM, Niko Tyni wrote: > >On Mon, Jun 24, 2013 at 01:13:58PM +0200, Jan Kaluža wrote: > >>On 06/23/2013 10:21 PM, Niko Tyni wrote: > > > >>>># Failed test 1 in t/directive/perlloadmodule3.t at line 38 > > > >>> http://svn.apache.org/viewvc/httpd/httpd/trunk/include/httpd.h?r1=959392&r2=959464 > >>> > >>>Clearly mod_perl2 needs to somehow map the char to a Perl number. The > >>>test failure happens because the zero byte "\0" is true in Perl and > >>>so the is_virtual method always returns true. > > > >>Try it with attached patch. I haven't tried to run the tests with > >>the patch applied, but from the generated code it looks like it > >>should return int now. > > > >Thanks, but that doesn't quite work here: > Hm, I have just tried it and it works for me here (fails without > this patch and works with it). Have you regenerated xs using "make > source_scan" and "make xs_generate"? I thought I had, but obviously something went wrong. I can confirm it's working for me now. Thanks, and sorry for being hasty. -- Niko Tyni ntyni@debian.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org For additional commands, e-mail: dev-help@perl.apache.org