File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2691,7 +2691,7 @@ These each call C<PoisonWith(0xEF)> for catching access to freed memory.
26912691
26922692#define MEM_SIZE_MAX ((MEM_SIZE)-1)
26932693
2694- #define _PERL_STRLEN_ROUNDUP_UNCHECKED (n ) (((n) - 1 + PERL_STRLEN_ROUNDUP_QUANTUM) & ~((MEM_SIZE)PERL_STRLEN_ROUNDUP_QUANTUM - 1))
2694+ #define PERL_STRLEN_ROUNDUP_UNCHECKED_ (n ) (((n) - 1 + PERL_STRLEN_ROUNDUP_QUANTUM) & ~((MEM_SIZE)PERL_STRLEN_ROUNDUP_QUANTUM - 1))
26952695
26962696#ifdef PERL_MALLOC_WRAP
26972697
@@ -2746,15 +2746,15 @@ These each call C<PoisonWith(0xEF)> for catching access to freed memory.
27462746
27472747# define MEM_WRAP_CHECK_ (n ,t ) MEM_WRAP_CHECK(n,t),
27482748
2749- # define PERL_STRLEN_ROUNDUP (n ) ((void)(((n) > MEM_SIZE_MAX - 2 * PERL_STRLEN_ROUNDUP_QUANTUM) ? (croak_memory_wrap(),0) : 0), _PERL_STRLEN_ROUNDUP_UNCHECKED (n))
2749+ # define PERL_STRLEN_ROUNDUP (n ) ((void)(((n) > MEM_SIZE_MAX - 2 * PERL_STRLEN_ROUNDUP_QUANTUM) ? (croak_memory_wrap(),0) : 0), PERL_STRLEN_ROUNDUP_UNCHECKED_ (n))
27502750#else
27512751
27522752# define MEM_WRAP_CHECK (n ,t )
27532753# define MEM_WRAP_CHECK_1 (n ,t ,a )
27542754# define MEM_WRAP_CHECK_s (n ,t ,a )
27552755# define MEM_WRAP_CHECK_ (n ,t )
27562756
2757- # define PERL_STRLEN_ROUNDUP (n ) _PERL_STRLEN_ROUNDUP_UNCHECKED (n)
2757+ # define PERL_STRLEN_ROUNDUP (n ) PERL_STRLEN_ROUNDUP_UNCHECKED_ (n)
27582758
27592759#endif
27602760
You can’t perform that action at this time.
0 commit comments