Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the autobox CPAN distribution.

Report information
The Basics
Id: 22868
Status: resolved
Estimated: 1 min
Worked: 1 min
Priority: 0/
Queue: autobox

People
Owner: CHOCOLATE [...] cpan.org
Requestors: SMPETERS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 0.01
  • 0.02
  • 0.03
  • 0.04
  • 0.05
  • 0.06
  • 0.07
  • 0.08
  • 0.09
  • 0.10
  • 0.11
  • 1.02
  • 1.03
Fixed in: 1.04



Subject: [PATCH] autobox broken in bleadperl
bleadperl is a bit more strict with the use of various macros to access SV's and, when compiled with debugging turned on, will blow up. The following patch fixes autobox on bleadperl. --- autobox.xs.old 2006-11-06 21:41:19.000000000 -0600 +++ autobox.xs 2006-11-06 21:40:56.000000000 -0600 @@ -58,7 +58,7 @@ OP* autobox_method_named(pTHX) { dSP; SV * meth = cSVOP_sv; - U32 hash = SvUVX(meth); + U32 hash = PTR2UV(meth); SV * sv; GV * gv = NULL; HV * stash;
Many thanks. Patch applied as of version 1.04. On Mon Nov 06 22:44:29 2006, SMPETERS wrote: Show quoted text
> bleadperl is a bit more strict with the use of various macros to access > SV's and, when compiled with debugging turned on, will blow up. The > following patch fixes autobox on bleadperl. > > --- autobox.xs.old 2006-11-06 21:41:19.000000000 -0600 > +++ autobox.xs 2006-11-06 21:40:56.000000000 -0600 > @@ -58,7 +58,7 @@ > OP* autobox_method_named(pTHX) { > dSP; > SV * meth = cSVOP_sv; > - U32 hash = SvUVX(meth); > + U32 hash = PTR2UV(meth); > SV * sv; > GV * gv = NULL; > HV * stash;