diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 2001-12-19 10:19:40 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 2001-12-19 10:19:40 +0000 |
commit | a26e96dff1c9d91b0bf389e6149016d8a3f26e49 (patch) | |
tree | bfff3f71b58fdbf6c8d7dc9e3fcfafc677bf74f3 /scope.c | |
parent | 1915677f475bd66f40974d770bf0b769f8cd7025 (diff) | |
download | perl-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.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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)) |