Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2013-12-24 20:46:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and      /work/SRC/openSUSE:Factory/.coreutils.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "coreutils"

Changes:
--------
--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes    
2013-12-13 11:56:25.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes       
2013-12-24 20:46:01.000000000 +0100
@@ -1,0 +2,13 @@
+Thu Dec 19 23:37:39 UTC 2013 - [email protected]
+
+- coreutils-gnulib-tests-ppc64le.patch: Fix imported gnulib long double
+  math tests for little-endian PowerPC.
+
+-------------------------------------------------------------------
+Thu Dec 19 22:54:26 UTC 2013 - [email protected]
+
+- Fix issue with binary input in non-C locale (rh#1036289)
+  (coreutils-i18n.patch): Initialize memory for some edge cases
+  in the i18n patch for uniq and join.
+
+-------------------------------------------------------------------
coreutils.changes: same change

New:
----
  coreutils-gnulib-tests-ppc64le.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ coreutils-testsuite.spec ++++++
--- /var/tmp/diff_new_pack.AKF1br/_old  2013-12-24 20:46:03.000000000 +0100
+++ /var/tmp/diff_new_pack.AKF1br/_new  2013-12-24 20:46:03.000000000 +0100
@@ -106,6 +106,9 @@
 # a bit more to avoid failures on OBS.
 Patch201:       coreutils-gnulib-tests-fix-nap-race-obs.patch
 
+# Fix imported gnulib long double math tests for little-endian PowerPC
+Patch202:       coreutils-gnulib-tests-ppc64le.patch
+
 # ================================================
 %description
 These are the GNU core utilities.  This package is the union of
@@ -136,6 +139,7 @@
 
 %patch200
 %patch201
+%patch202 -p1
 
 xz -dc %{S:2} >po/de.po
 

++++++ coreutils.spec ++++++
--- /var/tmp/diff_new_pack.AKF1br/_old  2013-12-24 20:46:03.000000000 +0100
+++ /var/tmp/diff_new_pack.AKF1br/_new  2013-12-24 20:46:03.000000000 +0100
@@ -106,6 +106,9 @@
 # a bit more to avoid failures on OBS.
 Patch201:       coreutils-gnulib-tests-fix-nap-race-obs.patch
 
+# Fix imported gnulib long double math tests for little-endian PowerPC
+Patch202:       coreutils-gnulib-tests-ppc64le.patch
+
 # ================================================
 %description
 These are the GNU core utilities.  This package is the union of
@@ -136,6 +139,7 @@
 
 %patch200
 %patch201
+%patch202 -p1
 
 xz -dc %{S:2} >po/de.po
 


++++++ coreutils-gnulib-tests-ppc64le.patch ++++++
diff --git a/gnulib-tests/test-isnanl.h b/gnulib-tests/test-isnanl.h
index 06e6a7c..2df10f8 100644
--- a/gnulib-tests/test-isnanl.h
+++ b/gnulib-tests/test-isnanl.h
@@ -51,6 +51,15 @@ main ()
   /* A bit pattern that is different from a Quiet NaN.  With a bit of luck,
      it's a Signalling NaN.  */
   {
+#if defined __powerpc__ && LDBL_MANT_DIG == 106
+    /* This is PowerPC "double double", a pair of two doubles.  Inf and Nan are
+       represented as the corresponding 64-bit IEEE values in the first double;
+       the second is ignored.  Manipulate only the first double.  */
+    #undef NWORDS
+    #define NWORDS \
+      ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
+#endif
+
     memory_long_double m;
     m.value = NaNl ();
 # if LDBL_EXPBIT0_BIT > 0
diff --git a/gnulib-tests/test-signbit.c b/gnulib-tests/test-signbit.c
index e8ea097..7e24292 100644
--- a/gnulib-tests/test-signbit.c
+++ b/gnulib-tests/test-signbit.c
@@ -151,6 +151,16 @@ test_signbitl ()
     #define NWORDS \
       ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned 
int))
     typedef union { long double value; unsigned int word[NWORDS]; } 
memory_long_double;
+
+#if defined __powerpc__ && LDBL_MANT_DIG == 106
+    /* This is PowerPC "double double", a pair of two doubles.  Inf and Nan are
+       represented as the corresponding 64-bit IEEE values in the first double;
+       the second is ignored.  Manipulate only the first double.  */
+    #undef NWORDS
+    #define NWORDS \
+      ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
+#endif
+
     memory_long_double m;
     m.value = zerol / zerol;
 # if LDBL_EXPBIT0_BIT > 0
++++++ coreutils-i18n.patch ++++++
--- /var/tmp/diff_new_pack.AKF1br/_old  2013-12-24 20:46:03.000000000 +0100
+++ /var/tmp/diff_new_pack.AKF1br/_new  2013-12-24 20:46:03.000000000 +0100
@@ -1498,7 +1498,7 @@
 +        for (i = 0; i < 2; i++)
 +          {
 +            mallocd = 1;
-+            copy[i] = xmalloc (len[i] + 1);
++            copy[i] = xcalloc (1, len[i] + 1);
 +
 +            for (j = 0; j < MIN (len[0], len[1]);)
 +              {
@@ -3902,7 +3902,7 @@
 +
 +  for (i = 0; i < 2; i++)
 +    {
-+      copy[i] = xmalloc (len[i] + 1);
++      copy[i] = xcalloc (1, len[i] + 1);
 +
 +      for (j = 0, chars = 0; j < len[i] && chars < check_chars; chars++)
 +        {

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to