This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Code refs aren't lockable
authorJerry D. Hedden <jdhedden@cpan.org>
Wed, 21 Jan 2009 16:03:38 +0000 (11:03 -0500)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Sun, 25 Jan 2009 13:29:34 +0000 (14:29 +0100)
commit076a2a80a09d79b056f73d9ef04bd4d977712fce
treefd3200708635ee4ab1da91eee9d0fe65ae92147f
parenta90aae4c5627b3091884d4242ea4049ea2dc79d1
Code refs aren't lockable

Remove the check for code refs in pp_lock.
For debugging, assert that the ref is not a code ref
(per Dave Mitchell's suggestion).
pp.c [changed mode: 0644->0755]