aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2013-12-27 12:27:46 +1000
committerAllan McRae <allan@archlinux.org>2013-12-27 12:29:38 +1000
commit6c9642eda644eb76e03776e16dae41b624a709b9 (patch)
treeca229aaa75f0fa3101f127db2b703c810c274687
parent46c0cc3aa5c4492c0f01be5158a9e4a60bf9fe4b (diff)
downloadglibc-6c9642eda644eb76e03776e16dae41b624a709b9.tar
glibc-6c9642eda644eb76e03776e16dae41b624a709b9.tar.gz
glibc-6c9642eda644eb76e03776e16dae41b624a709b9.tar.bz2
glibc-6c9642eda644eb76e03776e16dae41b624a709b9.zip
Fix typo in csloww()
An incorrect variable name was used during the refactoring done in commit 4aafb73c.
-rw-r--r--ChangeLog6
-rw-r--r--NEWS2
-rw-r--r--sysdeps/ieee754/dbl-64/s_sin.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 584f5896fd..93dceecb3a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2013-12-27 Allan McRae <allan@archlinux.org>
+
+ [BZ #16369]
+ * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
+ Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
+
2013-12-24 Brooks Moses <bmoses@google.com>
* string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
diff --git a/NEWS b/NEWS
index f3c19d83a7..fcf679a900 100644
--- a/NEWS
+++ b/NEWS
@@ -23,7 +23,7 @@ Version 2.19
16038, 16041, 16055, 16071, 16072, 16074, 16077, 16078, 16103, 16112,
16143, 16144, 16146, 16150, 16151, 16153, 16167, 16172, 16195, 16214,
16245, 16271, 16274, 16283, 16289, 16293, 16314, 16316, 16330, 16337,
- 16338, 16356.
+ 16338, 16356, 16369.
* The public headers no longer use __unused nor __block. This change is to
support compiling programs that are derived from BSD sources and use
diff --git a/sysdeps/ieee754/dbl-64/s_sin.c b/sysdeps/ieee754/dbl-64/s_sin.c
index bd2346cb9a..edc441577c 100644
--- a/sysdeps/ieee754/dbl-64/s_sin.c
+++ b/sysdeps/ieee754/dbl-64/s_sin.c
@@ -1102,7 +1102,7 @@ csloww (double x, double dx, double orig)
int4 n;
/* Taylor series */
- t = TAYLOR_SLOW (x, dx, cor);
+ res = TAYLOR_SLOW (x, dx, cor);
if (cor > 0)
cor = 1.0005 * cor + ABS (orig) * 3.1e-30;