diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-06-08 10:08:01 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-06-08 10:08:01 +0000 |
commit | f8c7b90fa8a3676239aeea262e148f9a4e497558 (patch) | |
tree | 2bd92ea6dd787a91993da91818f00e45c79399e6 /regexp.h | |
parent | 1a4fad37125bac3e69c02ee6b2e57c14777484e6 (diff) | |
download | perl-f8c7b90fa8a3676239aeea262e148f9a4e497558.tar.gz |
s/PERL_COPY_ON_WRITE/PERL_OLD_COPY_ON_WRITE/g
p4raw-id: //depot/perl@24755
Diffstat (limited to 'regexp.h')
-rw-r--r-- | regexp.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -37,7 +37,7 @@ typedef struct regexp { struct reg_data *data; /* Additional data. */ char *subbeg; /* saved or original string so \digit works forever. */ -#ifdef PERL_COPY_ON_WRITE +#ifdef PERL_OLD_COPY_ON_WRITE SV *saved_copy; /* If non-NULL, SV which is COW from original */ #endif U32 *offsets; /* offset annotations 20001228 MJD */ @@ -104,7 +104,7 @@ typedef struct regexp { ? RX_MATCH_COPIED_on(prog) \ : RX_MATCH_COPIED_off(prog)) -#ifdef PERL_COPY_ON_WRITE +#ifdef PERL_OLD_COPY_ON_WRITE #define RX_MATCH_COPY_FREE(rx) \ STMT_START {if (rx->saved_copy) { \ SV_CHECK_THINKFIRST_COW_DROP(rx->saved_copy); \ |