diff options
author | Yves Orton <demerphq@gmail.com> | 2006-06-14 16:33:24 +0200 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-06-14 14:58:14 +0000 |
commit | 8e9a8a487e942a090c791d91c152037724ef47f4 (patch) | |
tree | 04dc3aa9c2076b329005619b83ef14f6643a451f /regcomp.h | |
parent | e68ec53fb89aea41859fe8c109fe9b03a3599284 (diff) | |
download | perl-8e9a8a487e942a090c791d91c152037724ef47f4.tar.gz |
Re: [PATCH] fix re debug segvs in global destruction, and a tweak to Benchmark to prevent infinite loops. (Re: ext/re/t/regop.pl SEGV)
Message-ID: <9b18b3110606140533k583fdd3bh6c4b292e7ff4cf13@mail.gmail.com>
p4raw-id: //depot/perl@28394
Diffstat (limited to 'regcomp.h')
-rw-r--r-- | regcomp.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -616,14 +616,14 @@ re.pm, especially to the documentation. SV * re_debug_flags_sv = NULL; \ re_debug_flags_sv = get_sv(RE_DEBUG_FLAGS, 1); \ if (re_debug_flags_sv) { \ - if (!SvUOK(re_debug_flags_sv)) \ + if (!SvIOK(re_debug_flags_sv)) \ sv_setuv(re_debug_flags_sv, RE_DEBUG_COMPILE_DUMP | RE_DEBUG_EXECUTE_MASK ); \ - re_debug_flags=SvUV(re_debug_flags_sv); \ + re_debug_flags=SvIV(re_debug_flags_sv); \ }\ }) #ifdef DEBUGGING -#define GET_RE_DEBUG_FLAGS_DECL UV re_debug_flags = 0; GET_RE_DEBUG_FLAGS; +#define GET_RE_DEBUG_FLAGS_DECL IV re_debug_flags = 0; GET_RE_DEBUG_FLAGS; #else #define GET_RE_DEBUG_FLAGS_DECL #endif |