summaryrefslogtreecommitdiff
path: root/av.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-03-09 03:51:01 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-03-09 03:51:01 +0000
commit4e4c362ec2e3f4b5f5c23aa83a26a13b85d0c2c1 (patch)
treea06b5a015a32d7281f7b1e82ee2ed810c0af86ae /av.c
parent9404a519907ec8d9bce4b0bf7a09103f1f9f6fcb (diff)
downloadperl-4e4c362ec2e3f4b5f5c23aa83a26a13b85d0c2c1.tar.gz
[win32] merge C<local $tied{foo}> patch, also moved statics in
[ah]v.c to thrdvar.h p4raw-id: //depot/win32/perl@802
Diffstat (limited to 'av.c')
-rw-r--r--av.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/av.c b/av.c
index fad0b2ebdd..f4a9883442 100644
--- a/av.c
+++ b/av.c
@@ -157,8 +157,8 @@ av_fetch(register AV *av, I32 key, I32 lval)
dTHR;
sv = sv_newmortal();
mg_copy((SV*)av, sv, 0, key);
- Sv = sv;
- return &Sv;
+ av_fetch_sv = sv;
+ return &av_fetch_sv;
}
}