This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Perl_sv_vcatpvfn_flags: fix arg to SNPRINTF_G()
authorDavid Mitchell <davem@iabyn.com>
Mon, 15 May 2017 12:54:17 +0000 (13:54 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 7 Jun 2017 08:11:01 +0000 (09:11 +0100)
commit7c671983277afae7035c2c9078d47f9be9924bf0
treef029cf24fb3a1de9f9c81a149acc9d81873c31b0
parent7d47e43d076885f3fac0a4c62aecc3706f56624d
Perl_sv_vcatpvfn_flags: fix arg to SNPRINTF_G()

One of the callers of SNPRINTF_G() passes 'size' as its third arg - but
there is no such variable. This code happens only to be used in the
!USE_QUADMATH branch, and the SNPRINTF_G macro only uses that arg under
USE_QUADMATH. So it doesn't matter. But replace 'size' with 'sizeof(ebuf)'
in case that changes in future.
sv.c