Skip to content

Commit

Permalink
PATCH: [perl #134126] -Dusemymalloc, -Dusethreads
Browse files Browse the repository at this point in the history
This was due to a missing declaration for thread context needed to
output a message.
  • Loading branch information
khwilliamson committed May 24, 2019
1 parent cc16d26 commit 9629b6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions malloc.c
Expand Up @@ -1239,6 +1239,7 @@ Perl_malloc(size_t nbytes)
* malloc so that pointer subtraction in the same structure is always
* well defined */
if (nbytes > PTRDIFF_MAX) {
dTHX;
MYMALLOC_WRITE2STDERR("Memory requests are limited to PTRDIFF_MAX"
" bytes to prevent possible undefined"
" behavior");
Expand Down

0 comments on commit 9629b6d

Please sign in to comment.