This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Implement "my $_".
[perl5.git]
/
regexec.c
diff --git
a/regexec.c
b/regexec.c
index
464ceaf
..
fae7004
100644
(file)
--- a/
regexec.c
+++ b/
regexec.c
@@
-2104,8
+2104,7
@@
S_regtry(pTHX_ regexp *prog, char *startpos)
if (PL_reg_sv) {
/* Make $_ available to executed code. */
if (PL_reg_sv != DEFSV) {
- /* SAVE_DEFSV does *not* suffice here for USE_5005THREADS */
- SAVESPTR(DEFSV);
+ SAVE_DEFSV;
DEFSV = PL_reg_sv;
}