summaryrefslogtreecommitdiff
path: root/patches/glibc/2.12.1/105-misleading-indentation.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-03-10 22:37:36 (GMT)
committerAlexey Neyman <stilor@att.net>2017-03-10 22:37:36 (GMT)
commit30e8549e3db9a74b651cbfe1872148975329dd06 (patch)
tree01e796690b2eee27221e72b73073037b37cefe7a /patches/glibc/2.12.1/105-misleading-indentation.patch
parent6f226b5efecc8f15f1adc56be2fa41377523d3a5 (diff)
Add ARM patches for 2.12.2/2.13
Reported-by: Austin Beer (brainwave64) Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'patches/glibc/2.12.1/105-misleading-indentation.patch')
-rw-r--r--patches/glibc/2.12.1/105-misleading-indentation.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/patches/glibc/2.12.1/105-misleading-indentation.patch b/patches/glibc/2.12.1/105-misleading-indentation.patch
new file mode 100644
index 0000000..1dd8d85
--- /dev/null
+++ b/patches/glibc/2.12.1/105-misleading-indentation.patch
@@ -0,0 +1,24 @@
+commit 976ef870542580cf5fed896c2c652b3e1a95f9da
+Author: Steve Ellcey <sellcey@mips.com>
+Date: Fri Dec 11 09:19:37 2015 -0800
+
+ Fix indentation.
+
+ * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
+ Fix indentation.
+
+diff --git a/sysdeps/ieee754/flt-32/k_rem_pio2f.c b/sysdeps/ieee754/flt-32/k_rem_pio2f.c
+index 0c7685c..392afdb 100644
+--- a/sysdeps/ieee754/flt-32/k_rem_pio2f.c
++++ b/sysdeps/ieee754/flt-32/k_rem_pio2f.c
+@@ -65,7 +65,9 @@ int __kernel_rem_pio2f(float *x, float *y, int e0, int nx, int prec, const int32
+
+ /* compute q[0],q[1],...q[jk] */
+ for (i=0;i<=jk;i++) {
+- for(j=0,fw=0.0;j<=jx;j++) fw += x[j]*f[jx+i-j]; q[i] = fw;
++ for(j=0,fw=0.0;j<=jx;j++)
++ fw += x[j]*f[jx+i-j];
++ q[i] = fw;
+ }
+
+ jz = jk;