summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorAbhijit Menon-Sen <ams@wiw.org>2001-07-14 03:11:09 +0530
committerJarkko Hietaniemi <jhi@iki.fi>2001-07-13 15:12:37 +0000
commit78da6883f07d155aeb421dce0d6958c4526de8e6 (patch)
treebcbd5983b295a08ddbe8fd75c0d05fcdf36ca8ca /sv.c
parent12f8fb0120fba8ada8d34175fdf485375c42d6bb (diff)
downloadperl-78da6883f07d155aeb421dce0d6958c4526de8e6.tar.gz
Re: [patch] re_dup
Message-ID: <20010713214109.A3328@lustre.dyn.wiw.org> p4raw-id: //depot/perl@11361
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sv.c b/sv.c
index b47bfa0703..09832cf679 100644
--- 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;