develooper Front page | perl.perl5.porters | Postings from March 2001

Re: [ PATCH perl@8956 ] new debug option -DR shows ref counts

Thread Previous
From:
Jarkko Hietaniemi
Date:
March 8, 2001 17:22
Subject:
Re: [ PATCH perl@8956 ] new debug option -DR shows ref counts
Message ID:
20010308192223.Z17121@chaos.wustl.edu
On Thu, Mar 08, 2001 at 12:06:57PM +0000, David Mitchell wrote:
> [Cc'ed to perl-mvs@perl.org because this email contains a (trivial)
> patch to perly.y ]
> 
> The patch below cleans up all the debugging flags in the Perl src
> as per the earlier discusssion.
> 
> Some notes:
> 
> * in the absence of knowing what flag 0x8000000 did, I've defined
> a constant DEBUG_TOP_FLAG - this probably needs renaming if someone
> can tell me what's it for.
> 
> * There's now a constant DEBUG_MASK which has the bottom 17 bits set;
> mg.c used to have this hard-coded as 32767 which I presume was a bug;
> so $^D now includes flags > 2^15.
> 
> * I have directly patched the perly.{c,y,vms,etc} files rather than
> using assorted hairy mammals.
> 
> 
> 
> patched against 9063:

Thanks, applied.  (You had a couple of wrapped lines, though.  Beat
your email reading program until it behaves.)

A pod/perlrun.pod patch would be nice, too.

> 
> 
> diff -ruN 9063-orig/ext/re/re.xs 9063-patched/ext/re/re.xs

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About