Accepting request 98264 from home:a_jaeger:my-factory-packages

Update to glibc 2.15 - do not forward to Factory yet.

OBS-URL: https://build.opensuse.org/request/show/98264
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=144
This commit is contained in:
2011-12-27 08:19:44 +00:00
committed by Git OBS Bridge
parent 44b0bcb29e
commit b5ae287187
29 changed files with 160 additions and 3348 deletions

View File

@@ -1,37 +0,0 @@
This fixes ceil (x) for -1.0 < x < 0.
Index: sysdeps/x86_64/fpu/s_ceil.c
===================================================================
--- sysdeps/x86_64/fpu/s_ceil.c.orig
+++ sysdeps/x86_64/fpu/s_ceil.c
@@ -34,7 +34,11 @@ double __ceil(double x)
/* x is +zero or -zero; return the same zero */
return x;
else if (xneg) /* x < 0.0 */
- return 0.0;
+ {
+ /* Return zero with the sign of x */
+ PUT_BITS_DP64(SIGNBIT_DP64, x);
+ return x;
+ }
else
return 1.0;
}
Index: sysdeps/x86_64/fpu/s_ceilf.c
===================================================================
--- sysdeps/x86_64/fpu/s_ceilf.c.orig
+++ sysdeps/x86_64/fpu/s_ceilf.c
@@ -34,7 +34,11 @@ float __ceilf(float x)
/* x is +zero or -zero; return the same zero */
return x;
else if (xneg) /* x < 0.0 */
- return 0.0F;
+ {
+ /* Return zero with the sign of x */
+ PUT_BITS_SP32(SIGNBIT_SP32, x);
+ return x;
+ }
else
return 1.0F;
}