summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2001-12-19 10:19:40 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2001-12-19 10:19:40 +0000
commita26e96dff1c9d91b0bf389e6149016d8a3f26e49 (patch)
treebfff3f71b58fdbf6c8d7dc9e3fcfafc677bf74f3 /scope.c
parent1915677f475bd66f40974d770bf0b769f8cd7025 (diff)
downloadperl-a26e96dff1c9d91b0bf389e6149016d8a3f26e49.tar.gz
Fix READONLY hashes:
1. Discovered need for disabled scope.c part of Jeff's patch. 2. Corrected hv_delete* - entry was being de-linked from chain (patch program not smart enough?) p4raw-id: //depot/perlio@13795
Diffstat (limited to 'scope.c')
-rw-r--r--scope.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/scope.c b/scope.c
index da5fa6b581..7c02951d26 100644
--- a/scope.c
+++ b/scope.c
@@ -827,9 +827,8 @@ Perl_leave_scope(pTHX_ I32 base)
* if a my variable that was made readonly is going out of
* scope, we want to remove the readonlyness so that it can
* go out of scope quietly
- * Disabled as I don't see need yet NI-S 2001/12/18
*/
- if (0 && SvPADMY(sv) && ! SvFAKE(sv))
+ if (SvPADMY(sv) && !SvFAKE(sv))
SvREADONLY_off(sv);
if (SvTHINKFIRST(sv))