From: Jarkko Hietaniemi Date: Thu, 12 Aug 1999 19:06:17 +0000 (+0000) Subject: Add Configure -Duselongdouble and add a missing semicolon. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b0ce926a45891e83ffb4badae874161f93c0eb49;p=p5sagit%2Fp5-mst-13.2.git Add Configure -Duselongdouble and add a missing semicolon. p4raw-id: //depot/cfgperl@3969 --- diff --git a/Configure b/Configure index 60df796..ab71528 100755 --- a/Configure +++ b/Configure @@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Tue Aug 10 20:19:08 EET DST 1999 [metaconfig 3.0 PL70] +# Generated on Thu Aug 12 22:03:15 EET DST 1999 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.com) cat >/tmp/c1$$ <. Versions 5.003_02 and later of perl allow alternate IO mechanisms via a "PerlIO" abstraction, but the stdio mechanism is still @@ -14076,6 +14104,7 @@ uname='$uname' uniq='$uniq' use64bits='$use64bits' usedl='$usedl' +uselongdouble='$uselongdouble' usemultiplicity='$usemultiplicity' usemymalloc='$usemymalloc' usenm='$usenm' diff --git a/config_h.SH b/config_h.SH index 41b4ccc..f0643da 100644 --- a/config_h.SH +++ b/config_h.SH @@ -2589,6 +2589,12 @@ sed <config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un- */ #$use64bits USE_64_BITS /**/ +/* USE_LONG_DOUBLE: + * This symbol, if defined, indicates that long doubles should + * be used when available. + */ +#$uselongdouble USE_LONG_DOUBLE /**/ + /* MULTIPLICITY: * This symbol, if defined, indicates that Perl should * be built to use multiplicity. diff --git a/sv.c b/sv.c index 26c2b34..520a3b6 100644 --- a/sv.c +++ b/sv.c @@ -5130,7 +5130,7 @@ Perl_sv_vcatpvfn(pTHX_ SV *sv, const char *pat, STRLEN patlen, va_list *args, SV #ifdef USE_LONG_DOUBLE { char* p = PERL_PRIfldbl + sizeof(PERL_PRIfldbl) - 3; - while (p >= PERL_PRIfldbl) { *--eptr = *p-- } + while (p >= PERL_PRIfldbl) { *--eptr = *p--; } } #endif if (has_precis) {