This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Perl_sv_vcatpvfn_flags: eliminate utf8buf[] var
authorDavid Mitchell <davem@iabyn.com>
Thu, 18 May 2017 09:45:56 +0000 (10:45 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 7 Jun 2017 08:11:02 +0000 (09:11 +0100)
commit749723ec6fde0abfa343018449d205875ca7289d
tree8eb76447fc48d4d5804ed076bc1b6ecb82564770
parentbb3a69e5d53b13c9e93ffdc7af58faf80c2d7045
Perl_sv_vcatpvfn_flags: eliminate utf8buf[] var

%c for a >255 char generates its utf8 byte representation and stores it in
thiis temporarly buffer:

    U8 utf8buf[UTF8_MAXBYTES+1]

But we already have another temporary buffer, ebuf, for creating floating
point strings, which is big enough. So use that instead.
sv.c