summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorDoug MacEachern <dougm@covalent.net>2001-07-13 01:51:24 -0700
committerJarkko Hietaniemi <jhi@iki.fi>2001-07-13 15:11:45 +0000
commit12f8fb0120fba8ada8d34175fdf485375c42d6bb (patch)
tree39618e692ab662b79b783a941643d5a48c4259e1 /sv.c
parent90085e7e85a3937f769ddbc7ff641bd0be508df6 (diff)
downloadperl-12f8fb0120fba8ada8d34175fdf485375c42d6bb.tar.gz
[patch] re_dup
Message-ID: <Pine.LNX.4.21.0107130848530.28844-100000@mako.covalent.net> p4raw-id: //depot/perl@11360
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 7a23cc8c03..b47bfa0703 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);
- ret->regstclass->flags = r->regstclass->flags;
+ Copy(r->regstclass, ret->regstclass, 1, regnode);
}
else
ret->regstclass = NULL;