perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: [mp1 patch] gv_fetchpv "Apache::write_client",
Date Fri, 03 Oct 2003 21:03:37 GMT
Philippe M. Chiasson wrote:
> If this is a good idea, then shouldn't we also do it in the only other
> place where we gv_fetchpv("",FALSE, ...) ?

+1

> Index: src/modules/perl/perlio.c
> ===================================================================
> RCS file: /home/cvs/modperl/src/modules/perl/perlio.c,v
> retrieving revision 1.9
> diff -u -I$Id: -r1.9 perlio.c
> --- src/modules/perl/perlio.c   24 Mar 2002 02:17:10 -0000      1.9
> +++ src/modules/perl/perlio.c   3 Oct 2003 18:10:07 -0000
> @@ -108,7 +108,7 @@
>      Sfdisc_t*       disc;   /* discipline */
>  {
>      /* feed buffer to Apache->print */
> -    CV *cv = GvCV(gv_fetchpv("Apache::print", FALSE, SVt_PVCV));
> +    CV *cv = GvCV(gv_fetchpv("Apache::print", GV_ADDWARN, SVt_PVCV));
>      dSP;
>      ENTER;
>      SAVETMPS;

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message