diff options
author | Karl Williamson <khw@cpan.org> | 2019-05-22 14:37:20 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2019-05-24 17:09:29 -0600 |
commit | 9629b6dc1d6296e0d3a6a5dbfd0f672b4b2021ca (patch) | |
tree | 301815d2edf72db0ed60e5a7e4472b422a09cdcb /malloc.c | |
parent | cc16d262eb72677cdda2aa9395e943818b85ba38 (diff) | |
download | perl-9629b6dc1d6296e0d3a6a5dbfd0f672b4b2021ca.tar.gz |
PATCH: [perl #134126] -Dusemymalloc, -Dusethreads
This was due to a missing declaration for thread context needed to
output a message.
Diffstat (limited to 'malloc.c')
-rw-r--r-- | malloc.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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"); |