This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19a08b3
)
A further patch from Spider Boardman for long doubleness.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Wed, 1 Mar 2000 18:11:09 +0000
(18:11 +0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Wed, 1 Mar 2000 18:11:09 +0000
(18:11 +0000)
p4raw-id: //depot/cfgperl@5407
sv.c
patch
|
blob
|
blame
|
history
diff --git
a/sv.c
b/sv.c
index
7bb1fdd
..
2aa08c0
100644
(file)
--- a/
sv.c
+++ b/
sv.c
@@
-6230,8
+6230,9
@@
Perl_sv_vcatpvfn(pTHX_ SV *sv, const char *pat, STRLEN patlen, va_list *args, SV
*--eptr = c;
#ifdef USE_LONG_DOUBLE
{
- char* p = PERL_PRIfldbl + sizeof(PERL_PRIfldbl) - 3;
- while (p >= PERL_PRIfldbl) { *--eptr = *p--; }
+ char const my_prifldbl[] = PERL_PRIfldbl;
+ char const *p = my_prifldbl + sizeof my_prifldbl - 3;
+ while (p >= my_prifldbl) { *--eptr = *p--; }
}
#endif
if (has_precis) {