Joe Schaefer <[EMAIL PROTECTED]> writes:
> Randy Kobes <[EMAIL PROTECTED]> writes:
>
>
> [...]
>
>>> # transform data here
>>> my $bucket = APR::Bucket->new(uc $data);
>>> $bb_out->insert_tail($bucket);
>
>> This one crashes for me, after subtest 1. it's an access
>> violation in libaprutil.lib - after calling it up in the
>> debugger, tests 2 and 3 run, but fail ("HELLO" and "WORLD"
>> are expected, but nothing is received).
>
> Err, unlesss something's changed recently, you're missing
> a bucket allocator argument:
>
> my $bucket = APR::Bucket->new(uc $data, $c->bucket_alloc);
Oops, looks like the args are reversed:
my $bucket = APR::Bucket->new($c->bucket_alloc, uc $data);
However, I'm still a bit confused why the XS didn't croak.
I must have missed something upthread in this discussion-
off to check now.
--
Joe Schaefer
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]