Hello community,

here is the log from the commit of package libatomic_ops for openSUSE:Factory 
checked in at 2019-03-27 16:10:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libatomic_ops (Old)
 and      /work/SRC/openSUSE:Factory/.libatomic_ops.new.25356 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libatomic_ops"

Wed Mar 27 16:10:18 2019 rev:13 rq:685296 version:7.6.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/libatomic_ops/libatomic_ops.changes      
2019-01-15 09:08:25.690676346 +0100
+++ /work/SRC/openSUSE:Factory/.libatomic_ops.new.25356/libatomic_ops.changes   
2019-03-27 16:10:22.415683291 +0100
@@ -1,0 +2,6 @@
+Fri Mar 15 09:40:59 UTC 2019 - Jan Engelhardt <jeng...@inai.de>
+
+- Update to new upstream release 7.6.10
+  * Fix compiler warnings
+
+-------------------------------------------------------------------

Old:
----
  libatomic_ops-7.6.8.tar.gz

New:
----
  libatomic_ops-7.6.10.tar.gz

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

Other differences:
------------------
++++++ libatomic_ops.spec ++++++
--- /var/tmp/diff_new_pack.jcCpHy/_old  2019-03-27 16:10:23.027683134 +0100
+++ /var/tmp/diff_new_pack.jcCpHy/_new  2019-03-27 16:10:23.031683133 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           libatomic_ops
-Version:        7.6.8
+Version:        7.6.10
 Release:        0
 Summary:        A portable library for atomic memory operations
 License:        GPL-2.0-or-later AND MIT

++++++ libatomic_ops-7.6.8.tar.gz -> libatomic_ops-7.6.10.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libatomic_ops-7.6.8/AUTHORS 
new/libatomic_ops-7.6.10/AUTHORS
--- old/libatomic_ops-7.6.8/AUTHORS     2018-12-11 09:52:06.000000000 +0100
+++ new/libatomic_ops-7.6.10/AUTHORS    2019-03-01 17:59:46.000000000 +0100
@@ -34,6 +34,7 @@
 Maged Michael <mich...@cs.rochester.edu>
 Manuel Serrano <manuel.serr...@inria.fr>
 Marek Vasut <ma...@denx.de>
+Max Horn <m...@quendi.de>
 Michael Hope <michael.h...@linaro.org>
 Mikael Urankar <mikael.uran...@gipsa-lab.grenoble-inp.fr>
 Patrick Marlier <patrick.marl...@unine.ch>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libatomic_ops-7.6.8/ChangeLog 
new/libatomic_ops-7.6.10/ChangeLog
--- old/libatomic_ops-7.6.8/ChangeLog   2018-12-11 09:52:06.000000000 +0100
+++ new/libatomic_ops-7.6.10/ChangeLog  2019-03-01 17:59:46.000000000 +0100
@@ -1,4 +1,12 @@
 
+== [7.6.10] 2019-03-01 ==
+
+* Eliminate 'my_chunk_ptr-AO_initial_heap out of bounds' cppcheck warning
+* Fix 'AO_*_TS_T is not defined' compiler warnings (GCC-8)
+* Fix 'duplicate symbol' error for test_malloc/stack with static libs (OS X)
+* Workaround 'argument to function assert is always 1' cppcheck warnings
+
+
 == [7.6.8] 2018-12-11 ==
 
 * Eliminate 'casting signed to bigger unsigned int' CSA warning (test_stack)
@@ -142,6 +150,11 @@
 Also, includes 7.4.6 changes
 
 
+== [7.4.14] 2019-03-01 ==
+
+* Fix 'AO_*_TS_T is not defined' compiler warnings (GCC-8)
+
+
 == [7.4.12] 2018-12-11 ==
 
 * COPYING: sync with FSF's gpl-2.0.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libatomic_ops-7.6.8/README.md 
new/libatomic_ops-7.6.10/README.md
--- old/libatomic_ops-7.6.8/README.md   2018-12-11 09:52:06.000000000 +0100
+++ new/libatomic_ops-7.6.10/README.md  2019-03-01 17:59:46.000000000 +0100
@@ -2,7 +2,7 @@
 
 IN NEW CODE, PLEASE USE C11 OR C++14 STANDARD ATOMICS INSTEAD OF THIS PACKAGE.
 
-This is version 7.6.8 of libatomic_ops.
+This is version 7.6.10 of libatomic_ops.
 
 
 ## Download
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libatomic_ops-7.6.8/configure 
new/libatomic_ops-7.6.10/configure
--- old/libatomic_ops-7.6.8/configure   2018-12-11 09:53:10.000000000 +0100
+++ new/libatomic_ops-7.6.10/configure  2019-03-01 18:00:54.000000000 +0100
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for libatomic_ops 7.6.8.
+# Generated by GNU Autoconf 2.69 for libatomic_ops 7.6.10.
 #
 # Report bugs to <https://github.com/ivmai/libatomic_ops/issues>.
 #
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='libatomic_ops'
 PACKAGE_TARNAME='libatomic_ops'
-PACKAGE_VERSION='7.6.8'
-PACKAGE_STRING='libatomic_ops 7.6.8'
+PACKAGE_VERSION='7.6.10'
+PACKAGE_STRING='libatomic_ops 7.6.10'
 PACKAGE_BUGREPORT='https://github.com/ivmai/libatomic_ops/issues'
 PACKAGE_URL=''
 
@@ -641,6 +641,8 @@
 NEED_ASM_TRUE
 HAVE_PTHREAD_H_FALSE
 HAVE_PTHREAD_H_TRUE
+ENABLE_SHARED_FALSE
+ENABLE_SHARED_TRUE
 THREADDLLIBS
 CFLAGS_EXTRA
 PICFLAG
@@ -1343,7 +1345,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures libatomic_ops 7.6.8 to adapt to many kinds of systems.
+\`configure' configures libatomic_ops 7.6.10 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1414,7 +1416,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of libatomic_ops 7.6.8:";;
+     short | recursive ) echo "Configuration of libatomic_ops 7.6.10:";;
    esac
   cat <<\_ACEOF
 
@@ -1535,7 +1537,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-libatomic_ops configure 7.6.8
+libatomic_ops configure 7.6.10
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1813,7 +1815,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by libatomic_ops $as_me 7.6.8, which was
+It was created by libatomic_ops $as_me 7.6.10, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2793,7 +2795,7 @@
 
 # Define the identity of the package.
  PACKAGE='libatomic_ops'
- VERSION='7.6.8'
+ VERSION='7.6.10'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -12596,6 +12598,14 @@
 fi
 
 
+ if test x$enable_shared = xyes; then
+  ENABLE_SHARED_TRUE=
+  ENABLE_SHARED_FALSE='#'
+else
+  ENABLE_SHARED_TRUE='#'
+  ENABLE_SHARED_FALSE=
+fi
+
  if test x$have_pthreads = xtrue; then
   HAVE_PTHREAD_H_TRUE=
   HAVE_PTHREAD_H_FALSE='#'
@@ -12763,6 +12773,10 @@
   as_fn_error $? "conditional \"ENABLE_DOCS\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
+if test -z "${ENABLE_SHARED_TRUE}" && test -z "${ENABLE_SHARED_FALSE}"; then
+  as_fn_error $? "conditional \"ENABLE_SHARED\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
 if test -z "${HAVE_PTHREAD_H_TRUE}" && test -z "${HAVE_PTHREAD_H_FALSE}"; then
   as_fn_error $? "conditional \"HAVE_PTHREAD_H\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
@@ -13168,7 +13182,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by libatomic_ops $as_me 7.6.8, which was
+This file was extended by libatomic_ops $as_me 7.6.10, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -13234,7 +13248,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-libatomic_ops config.status 7.6.8
+libatomic_ops config.status 7.6.10
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libatomic_ops-7.6.8/configure.ac 
new/libatomic_ops-7.6.10/configure.ac
--- old/libatomic_ops-7.6.8/configure.ac        2018-12-11 09:52:06.000000000 
+0100
+++ new/libatomic_ops-7.6.10/configure.ac       2019-03-01 17:59:46.000000000 
+0100
@@ -12,7 +12,7 @@
 
 dnl Process this file with autoconf to produce configure.
 
-AC_INIT([libatomic_ops],[7.6.8],https://github.com/ivmai/libatomic_ops/issues)
+AC_INIT([libatomic_ops],[7.6.10],https://github.com/ivmai/libatomic_ops/issues)
 
 AC_PREREQ(2.61)
 AC_CANONICAL_TARGET([])
@@ -233,6 +233,7 @@
 fi
 AC_SUBST(THREADDLLIBS)
 
+AM_CONDITIONAL(ENABLE_SHARED, test x$enable_shared = xyes)
 AM_CONDITIONAL(HAVE_PTHREAD_H, test x$have_pthreads = xtrue)
 AM_CONDITIONAL(NEED_ASM, test x$need_asm = xtrue)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libatomic_ops-7.6.8/src/atomic_ops/ao_version.h 
new/libatomic_ops-7.6.10/src/atomic_ops/ao_version.h
--- old/libatomic_ops-7.6.8/src/atomic_ops/ao_version.h 2018-12-11 
09:52:06.000000000 +0100
+++ new/libatomic_ops-7.6.10/src/atomic_ops/ao_version.h        2019-03-01 
17:59:46.000000000 +0100
@@ -35,4 +35,4 @@
 /* The version here should match that in configure.ac and README.       */
 #define AO_VERSION_MAJOR 7
 #define AO_VERSION_MINOR 6
-#define AO_VERSION_MICRO 8 /* 7.6.8 */
+#define AO_VERSION_MICRO 10 /* 7.6.10 */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libatomic_ops-7.6.8/src/atomic_ops/generalize.h 
new/libatomic_ops-7.6.10/src/atomic_ops/generalize.h
--- old/libatomic_ops-7.6.8/src/atomic_ops/generalize.h 2018-12-11 
09:52:06.000000000 +0100
+++ new/libatomic_ops-7.6.10/src/atomic_ops/generalize.h        2019-03-01 
17:59:46.000000000 +0100
@@ -99,7 +99,7 @@
 #   define AO_HAVE_compare_and_swap_release
 # endif
 
-# if AO_CHAR_TS_T
+# if defined(AO_CHAR_TS_T)
 #   define AO_TS_COMPARE_AND_SWAP_FULL(a,o,n) \
                                 AO_char_compare_and_swap_full(a,o,n)
 #   define AO_TS_COMPARE_AND_SWAP_ACQUIRE(a,o,n) \
@@ -109,7 +109,7 @@
 #   define AO_TS_COMPARE_AND_SWAP(a,o,n) AO_char_compare_and_swap(a,o,n)
 # endif
 
-# if AO_AO_TS_T
+# if defined(AO_AO_TS_T)
 #   define AO_TS_COMPARE_AND_SWAP_FULL(a,o,n) AO_compare_and_swap_full(a,o,n)
 #   define AO_TS_COMPARE_AND_SWAP_ACQUIRE(a,o,n) \
                                 AO_compare_and_swap_acquire(a,o,n)
@@ -118,8 +118,8 @@
 #   define AO_TS_COMPARE_AND_SWAP(a,o,n) AO_compare_and_swap(a,o,n)
 # endif
 
-# if (AO_AO_TS_T && defined(AO_HAVE_compare_and_swap_full)) \
-     || (AO_CHAR_TS_T && defined(AO_HAVE_char_compare_and_swap_full))
+# if (defined(AO_AO_TS_T) && defined(AO_HAVE_compare_and_swap_full)) \
+     || (defined(AO_CHAR_TS_T) && defined(AO_HAVE_char_compare_and_swap_full))
     AO_INLINE AO_TS_VAL_t
     AO_test_and_set_full(volatile AO_TS_t *addr)
     {
@@ -131,8 +131,9 @@
 #   define AO_HAVE_test_and_set_full
 # endif /* AO_HAVE_compare_and_swap_full */
 
-# if (AO_AO_TS_T && defined(AO_HAVE_compare_and_swap_acquire)) \
-     || (AO_CHAR_TS_T && defined(AO_HAVE_char_compare_and_swap_acquire))
+# if (defined(AO_AO_TS_T) && defined(AO_HAVE_compare_and_swap_acquire)) \
+     || (defined(AO_CHAR_TS_T) \
+         && defined(AO_HAVE_char_compare_and_swap_acquire))
     AO_INLINE AO_TS_VAL_t
     AO_test_and_set_acquire(volatile AO_TS_t *addr)
     {
@@ -144,8 +145,9 @@
 #   define AO_HAVE_test_and_set_acquire
 # endif /* AO_HAVE_compare_and_swap_acquire */
 
-# if (AO_AO_TS_T && defined(AO_HAVE_compare_and_swap_release)) \
-     || (AO_CHAR_TS_T && defined(AO_HAVE_char_compare_and_swap_release))
+# if (defined(AO_AO_TS_T) && defined(AO_HAVE_compare_and_swap_release)) \
+     || (defined(AO_CHAR_TS_T) \
+         && defined(AO_HAVE_char_compare_and_swap_release))
     AO_INLINE AO_TS_VAL_t
     AO_test_and_set_release(volatile AO_TS_t *addr)
     {
@@ -157,8 +159,8 @@
 #   define AO_HAVE_test_and_set_release
 # endif /* AO_HAVE_compare_and_swap_release */
 
-# if (AO_AO_TS_T && defined(AO_HAVE_compare_and_swap)) \
-     || (AO_CHAR_TS_T && defined(AO_HAVE_char_compare_and_swap))
+# if (defined(AO_AO_TS_T) && defined(AO_HAVE_compare_and_swap)) \
+     || (defined(AO_CHAR_TS_T) && defined(AO_HAVE_char_compare_and_swap))
     AO_INLINE AO_TS_VAL_t
     AO_test_and_set(volatile AO_TS_t *addr)
     {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libatomic_ops-7.6.8/src/atomic_ops.h 
new/libatomic_ops-7.6.10/src/atomic_ops.h
--- old/libatomic_ops-7.6.8/src/atomic_ops.h    2018-12-11 09:52:06.000000000 
+0100
+++ new/libatomic_ops-7.6.10/src/atomic_ops.h   2019-03-01 17:59:46.000000000 
+0100
@@ -421,11 +421,11 @@
 
 /* The most common way to clear a test-and-set location         */
 /* at the end of a critical section.                            */
-#if AO_AO_TS_T && !defined(AO_HAVE_CLEAR)
+#if defined(AO_AO_TS_T) && !defined(AO_HAVE_CLEAR)
 # define AO_CLEAR(addr) AO_store_release((AO_TS_t *)(addr), AO_TS_CLEAR)
 # define AO_HAVE_CLEAR
 #endif
-#if AO_CHAR_TS_T && !defined(AO_HAVE_CLEAR)
+#if defined(AO_CHAR_TS_T) && !defined(AO_HAVE_CLEAR)
 # define AO_CLEAR(addr) AO_char_store_release((AO_TS_t *)(addr), AO_TS_CLEAR)
 # define AO_HAVE_CLEAR
 #endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libatomic_ops-7.6.8/src/atomic_ops_malloc.c 
new/libatomic_ops-7.6.10/src/atomic_ops_malloc.c
--- old/libatomic_ops-7.6.8/src/atomic_ops_malloc.c     2018-12-11 
09:52:06.000000000 +0100
+++ new/libatomic_ops-7.6.10/src/atomic_ops_malloc.c    2019-03-01 
17:59:46.000000000 +0100
@@ -229,11 +229,13 @@
                                     (AO_t)initial_ptr, (AO_t)my_chunk_ptr);
       }
 
-    if (AO_EXPECT_FALSE(my_chunk_ptr - AO_initial_heap
-                        > AO_INITIAL_HEAP_SIZE - CHUNK_SIZE)) {
+    if (AO_EXPECT_FALSE((AO_t)my_chunk_ptr
+            > (AO_t)(AO_initial_heap + AO_INITIAL_HEAP_SIZE - CHUNK_SIZE))) {
       /* We failed.  The initial heap is used up.       */
       my_chunk_ptr = get_mmaped(CHUNK_SIZE);
-      assert(((AO_t)my_chunk_ptr & (ALIGNMENT-1)) == 0);
+#     if !defined(CPPCHECK)
+        assert(((AO_t)my_chunk_ptr & (ALIGNMENT-1)) == 0);
+#     endif
       break;
     }
     if (AO_compare_and_swap(&initial_heap_ptr, (AO_t)my_chunk_ptr,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libatomic_ops-7.6.8/tests/Makefile.am 
new/libatomic_ops-7.6.10/tests/Makefile.am
--- old/libatomic_ops-7.6.8/tests/Makefile.am   2018-12-11 09:52:06.000000000 
+0100
+++ new/libatomic_ops-7.6.10/tests/Makefile.am  2019-03-01 17:59:46.000000000 
+0100
@@ -38,13 +38,18 @@
 
 test_stack_SOURCES=test_stack.c
 test_stack_LDADD = $(THREADDLLIBS) \
-        $(top_builddir)/src/libatomic_ops_gpl.la \
-        $(top_builddir)/src/libatomic_ops.la
+        $(top_builddir)/src/libatomic_ops_gpl.la
 
 test_malloc_SOURCES=test_malloc.c
 test_malloc_LDADD = $(THREADDLLIBS) \
-        $(top_builddir)/src/libatomic_ops_gpl.la \
-        $(top_builddir)/src/libatomic_ops.la
+        $(top_builddir)/src/libatomic_ops_gpl.la
+
+## In case of static libraries build, libatomic_ops.a is already referenced
+## in dependency_libs attribute of libatomic_ops_gpl.la file.
+if ENABLE_SHARED
+test_malloc_LDADD += $(top_builddir)/src/libatomic_ops.la
+test_stack_LDADD += $(top_builddir)/src/libatomic_ops.la
+endif
 
 # Run the tests directly (without test-driver):
 .PHONY: check-without-test-driver
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libatomic_ops-7.6.8/tests/Makefile.in 
new/libatomic_ops-7.6.10/tests/Makefile.in
--- old/libatomic_ops-7.6.8/tests/Makefile.in   2018-12-11 09:53:10.000000000 
+0100
+++ new/libatomic_ops-7.6.10/tests/Makefile.in  2019-03-01 18:00:55.000000000 
+0100
@@ -93,6 +93,8 @@
 @HAVE_PTHREAD_H_TRUE@am__append_1 = test_atomic_pthreads$(EXEEXT)
 @HAVE_PTHREAD_H_TRUE@am__append_2 = test_atomic_pthreads-test_atomic.o
 @HAVE_PTHREAD_H_TRUE@am__append_3 = test_atomic_pthreads
+@ENABLE_SHARED_TRUE@am__append_4 = $(top_builddir)/src/libatomic_ops.la
+@ENABLE_SHARED_TRUE@am__append_5 = $(top_builddir)/src/libatomic_ops.la
 subdir = tests
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
@@ -133,13 +135,11 @@
 am_test_malloc_OBJECTS = test_malloc.$(OBJEXT)
 test_malloc_OBJECTS = $(am_test_malloc_OBJECTS)
 test_malloc_DEPENDENCIES = $(am__DEPENDENCIES_1) \
-       $(top_builddir)/src/libatomic_ops_gpl.la \
-       $(top_builddir)/src/libatomic_ops.la
+       $(top_builddir)/src/libatomic_ops_gpl.la $(am__append_4)
 am_test_stack_OBJECTS = test_stack.$(OBJEXT)
 test_stack_OBJECTS = $(am_test_stack_OBJECTS)
 test_stack_DEPENDENCIES = $(am__DEPENDENCIES_1) \
-       $(top_builddir)/src/libatomic_ops_gpl.la \
-       $(top_builddir)/src/libatomic_ops.la
+       $(top_builddir)/src/libatomic_ops_gpl.la $(am__append_5)
 AM_V_P = $(am__v_P_@AM_V@)
 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
 am__v_P_0 = false
@@ -565,14 +565,10 @@
 test_atomic_generalized_LDADD = $(test_atomic_LDADD)
 test_stack_SOURCES = test_stack.c
 test_stack_LDADD = $(THREADDLLIBS) \
-        $(top_builddir)/src/libatomic_ops_gpl.la \
-        $(top_builddir)/src/libatomic_ops.la
-
+       $(top_builddir)/src/libatomic_ops_gpl.la $(am__append_5)
 test_malloc_SOURCES = test_malloc.c
 test_malloc_LDADD = $(THREADDLLIBS) \
-        $(top_builddir)/src/libatomic_ops_gpl.la \
-        $(top_builddir)/src/libatomic_ops.la
-
+       $(top_builddir)/src/libatomic_ops_gpl.la $(am__append_4)
 all: $(BUILT_SOURCES)
        $(MAKE) $(AM_MAKEFLAGS) all-am
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libatomic_ops-7.6.8/tests/test_malloc.c 
new/libatomic_ops-7.6.10/tests/test_malloc.c
--- old/libatomic_ops-7.6.8/tests/test_malloc.c 2018-12-11 09:52:06.000000000 
+0100
+++ new/libatomic_ops-7.6.10/tests/test_malloc.c        2019-03-01 
17:59:46.000000000 +0100
@@ -27,7 +27,7 @@
 
 #ifndef DEFAULT_NTHREADS
 # ifdef HAVE_MMAP
-#   define DEFAULT_NTHREADS 16
+#   define DEFAULT_NTHREADS 16 /* must be <= MAX_NTHREADS */
 # else
 #   define DEFAULT_NTHREADS 3
 # endif
@@ -229,7 +229,6 @@
 
     if (1 == argc) {
       nthreads = DEFAULT_NTHREADS;
-      assert(nthreads <= MAX_NTHREADS);
     } else if (2 == argc) {
       nthreads = atoi(argv[1]);
       if (nthreads < 1 || nthreads > MAX_NTHREADS) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libatomic_ops-7.6.8/tests/test_stack.c 
new/libatomic_ops-7.6.10/tests/test_stack.c
--- old/libatomic_ops-7.6.8/tests/test_stack.c  2018-12-11 09:52:06.000000000 
+0100
+++ new/libatomic_ops-7.6.10/tests/test_stack.c 2019-03-01 17:59:46.000000000 
+0100
@@ -226,7 +226,6 @@
   if (1 == argc)
     {
       max_nthreads = DEFAULT_NTHREADS;
-      assert(max_nthreads <= MAX_NTHREADS);
     }
   else if (2 == argc)
     {


Reply via email to