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]

Reply via email to