On Wed, 9 Aug 2000, T.J. Mather wrote:

I'm not that comfortable with the perlguts, but it makes somewhat
sense to me so I've committed it.

 - ask

> Hi,
> 
> I have already posted this to [EMAIL PROTECTED]:
> 
> I found and fixed a bug with Apache::print not dereferencing scalar
> referencess that are of type SVt_PVIV.  The patch is
> 
> PATCH:
> --- Apache.xs.old       Wed Aug  9 10:23:31 2000
> +++ Apache.xs   Wed Aug  9 10:23:13 2000
> @@ -1076,7 +1076,7 @@
> 
>      for(i = 1; i <= items - 1; i++) {
>         int sent = 0;
> -        SV *sv = SvROK(ST(i)) && (SvTYPE(SvRV(ST(i))) == SVt_PV) ?
> +        SV *sv = SvROK(ST(i)) && (SvTYPE(SvRV(ST(i))) == SVt_PV || 
>SvTYPE(SvRV(ST(i))) == SVt_PVIV) ?
>                   (SV*)SvRV(ST(i)) : ST(i);
>         buffer = SvPV(sv, len);
>  #ifdef APACHE_SSL
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
ask bjoern hansen - <http://www.netcetera.dk/~ask/>
more than 70M impressions per day, <http://valueclick.com>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to