projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12f8fb0
)
Re: [patch] re_dup
author
Abhijit Menon-Sen
<ams@wiw.org>
Fri, 13 Jul 2001 21:41:09 +0000
(
03:11
+0530)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Fri, 13 Jul 2001 15:12:37 +0000
(15:12 +0000)
Message-ID: <
20010713214109
.A3328@lustre.dyn.wiw.org>
p4raw-id: //depot/perl@11361
sv.c
patch
|
blob
|
history
diff --git
a/sv.c
b/sv.c
index
b47bfa0
..
09832cf
100644
(file)
--- a/
sv.c
+++ b/
sv.c
@@
-8368,7
+8368,7
@@
Perl_re_dup(pTHX_ REGEXP *r, clone_params *param)
if (r->regstclass) {
New(0, ret->regstclass, 1, regnode);
-
Copy(r->regstclass, ret->regstclass, 1
, regnode);
+
StructCopy(r->regstclass, ret->regstclass
, regnode);
}
else
ret->regstclass = NULL;