summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorNiko Tyni <ntyni@debian.org>2016-11-19 09:45:45 +0200
committerTony Cook <tony@develop-help.com>2016-11-22 11:46:28 +1100
commit6b2c7479d6d33249c2385d8a36d8ee9e61e1a519 (patch)
tree17bac9f84f02d93ffdf0c2c08fc3596555be3d5a /Configure
parentdd6885360b15e763e0706dc28555eea328de432d (diff)
downloadperl-6b2c7479d6d33249c2385d8a36d8ee9e61e1a519.tar.gz
Configure: also zero out high bytes of 80-bit ldnan
These are currently zero anyway, but things are probably not guaranteed to stay so.
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/Configure b/Configure
index f561a87e19..845fc43d76 100755
--- a/Configure
+++ b/Configure
@@ -20702,6 +20702,7 @@ int main(int argc, char *argv[]) {
# if LONG_DOUBLEKIND == 3 || LONG_DOUBLEKIND == 4
/* the 80-bit long doubles might have garbage in their excess bytes */
memset((char *)&ldinf + 10, '\0', LONG_DOUBLESIZE - 10);
+ memset((char *)&ldnan + 10, '\0', LONG_DOUBLESIZE - 10);
# endif
if (argc == 2) {
switch (argv[1][0]) {