In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/91fc0422e3a3e3aa6b0c35bb1d4d18d03fd35f30?hp=22d36020eee5daeca31211c83f903b5ad55305f7>
- Log ----------------------------------------------------------------- commit 91fc0422e3a3e3aa6b0c35bb1d4d18d03fd35f30 Author: Father Chrysostomos <[email protected]> Date: Sun Dec 29 16:43:03 2013 -0800 perlhacktips: -Accflags for PERL_DEBUG_READONLY_OPS It is not clear to all that this has to be specified as -Accflags=-D... when used on the Configure command line. ----------------------------------------------------------------------- Summary of changes: pod/perlhacktips.pod | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pod/perlhacktips.pod b/pod/perlhacktips.pod index e3ef6f9..2f19c04 100644 --- a/pod/perlhacktips.pod +++ b/pod/perlhacktips.pod @@ -1391,7 +1391,8 @@ L<perlclib>. Under ithreads the optree is read only. If you want to enforce this, to check for write accesses from buggy code, compile with -C<-DPERL_DEBUG_READONLY_OPS> to enable code that allocates op memory +C<-Accflags=-DPERL_DEBUG_READONLY_OPS> +to enable code that allocates op memory via C<mmap>, and sets it read-only when it is attached to a subroutine. Any write access to an op results in a C<SIGBUS> and abort. -- Perl5 Master Repository
