This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
A patch on #5407.
authorJarkko Hietaniemi <jhi@iki.fi>
Thu, 2 Mar 2000 04:51:46 +0000 (04:51 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Thu, 2 Mar 2000 04:51:46 +0000 (04:51 +0000)
p4raw-id: //depot/cfgperl@5437

sv.c

diff --git a/sv.c b/sv.c
index 2aa08c0..2312eb0 100644 (file)
--- a/sv.c
+++ b/sv.c
@@ -6230,7 +6230,7 @@ Perl_sv_vcatpvfn(pTHX_ SV *sv, const char *pat, STRLEN patlen, va_list *args, SV
            *--eptr = c;
 #ifdef USE_LONG_DOUBLE
            {
-               char const my_prifldbl[] = PERL_PRIfldbl;
+               static char const my_prifldbl[] = PERL_PRIfldbl;
                char const *p = my_prifldbl + sizeof my_prifldbl - 3;
                while (p >= my_prifldbl) { *--eptr = *p--; }
            }