diff options
author | Steve Peters <steve@fisharerojo.org> | 2005-10-29 14:14:25 +0000 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2005-10-29 14:14:25 +0000 |
commit | 8a150c0caabca39b461ad53bf8ea56a608e3bef5 (patch) | |
tree | 4f337a62b4f242e5714629b06ea4771c7bf4495e | |
parent | 1059e7430cb391f74056f9d7480edd62173d5660 (diff) | |
download | perl-8a150c0caabca39b461ad53bf8ea56a608e3bef5.tar.gz |
Change to use sv_force_normal_flags() directly, rather than calling
sv_force_normal() to call sv_force_normal_flags().
p4raw-id: //depot/perl@25875
-rw-r--r-- | NetWare/sv_nw.c | 2 | ||||
-rw-r--r-- | mg.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/NetWare/sv_nw.c b/NetWare/sv_nw.c index 0051363e96..b449dda0b1 100644 --- a/NetWare/sv_nw.c +++ b/NetWare/sv_nw.c @@ -4,7 +4,7 @@ #include <regcomp.h> #define FCALL *f -#define SV_CHECK_THINKFIRST(sv) if (SvTHINKFIRST(sv)) sv_force_normal(sv) +#define SV_CHECK_THINKFIRST(sv) if (SvTHINKFIRST(sv)) sv_force_normal_flags(sv, 0) @@ -85,7 +85,7 @@ S_save_magic(pTHX_ I32 mgs_ix, SV *sv) #ifdef PERL_OLD_COPY_ON_WRITE /* Turning READONLY off for a copy-on-write scalar is a bad idea. */ if (SvIsCOW(sv)) - sv_force_normal(sv); + sv_force_normal_flags(sv, 0); #endif SAVEDESTRUCTOR_X(S_restore_magic, INT2PTR(void*, (IV)mgs_ix)); |