Carl Brewer wrote:
Stas Bekman wrote:
Are you sure you have applied the patch? It now should be:
xs/modperl_xs_util.h:104: rv = func(aTHX_ obj, buf, &wlen); \
This is the chunk :
/* XXX: we probably shouldn't croak here */
#define mpxs_write_loop(func, obj) \
while (MARK <= SP) { \
apr_size_t wlen; \
apr_status_t rv; \
char *buf = SvPV(*MARK, (STRLEN)wlen); \
MP_TRACE_o(MP_FUNC, "%d bytes [%s]", wlen, buf); \
rv = func(aTHX_ obj, buf, &wlen); \
if (rv != APR_SUCCESS) { \
Perl_croak(aTHX_ modperl_apr_strerror(rv)); \
} \
bytes += wlen; \
MARK++; \
}
Is that right? The error's the same, none the less (even after a
make clean)
yup, that's strange. Any difference if you drop (STRLEN):
- char *buf = SvPV(*MARK, (STRLEN)wlen);
+ char *buf = SvPV(*MARK, wlen);
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxxxxxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
|