httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <do...@covalent.net>
Subject Re: bleedperl problems
Date Wed, 13 Jun 2001 20:35:25 GMT
On 12 Jun 2001, Joe Schaefer wrote:
 
> On a peripheral note- today I've been trying to get modperl to build 
> against perl 5.6.1 w/SFIO *and* ithreads- but my compiler is griping
> about
> 
> perlio.c: In function `sfapachewrite':
> perlio.c:109: warning: passing arg 1 of pointer to function from incompatible pointer
type

this patch should fix, i don't have sfio handy to test tho..

--- src/modules/perl/perlio.c   2000/08/15 19:36:34     1.6
+++ src/modules/perl/perlio.c   2001/06/13 20:34:31
@@ -106,7 +106,7 @@
     XPUSHs(perl_bless_request_rec(((Apache_t*)disc)->r));
     XPUSHs(sv_2mortal(newSVpv(buffer,n)));
     PUTBACK;
-    (void)(*CvXSUB(cv))(cv); 
+    (void)(*CvXSUB(cv))(aTHXo_ cv); 
     FREETMPS;
     LEAVE;
     return n;



Mime
View raw message