forked from pool/glibc
Andreas Schwab
7db7ce4082
- no-long-double.patch: Don't use long double functions if NO_LONG_DOUBLE - Update to glibc 2.23 release. * Unicode 8.0.0 Support * sched_setaffinity, pthread_setaffinity_np no longer attempt to guess the kernel-internal CPU set size * The fts.h header can now be used with -D_FILE_OFFSET_BITS=64 * getaddrinfo now detects certain invalid responses on an internal netlink socket * A defect in the malloc implementation, present since glibc 2.15 (2012) or glibc 2.10 via --enable-experimental-malloc (2009), could result in the unnecessary serialization of memory allocation requests across threads * The obsolete header <regexp.h> has been removed * The obsolete functions bdflush, create_module, get_kernel_syms, query_module and uselib are no longer available to newly linked binaries * Optimized string, wcsmbs and memory functions for IBM z13. * Newly linked programs that define a variable called signgam will no longer have it set by the lgamma, lgammaf and lgammal functions - Removed patches: * dont-remove-nodelete-flag.patch * openat64-readd-o-largefile.patch * mntent-blank-line.patch * opendir-o-directory-check.patch * strcoll-remove-strdiff-opt.patch * ld-pointer-guard.patch * tls-dtor-list-mangling.patch * powerpc-lock-elision-race.patch * prelink-elf-rtype-class.patch OBS-URL: https://build.opensuse.org/request/show/361238 OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=423
24 lines
658 B
Diff
24 lines
658 B
Diff
Index: glibc-2.22/math/test-math-isinff.cc
|
|
===================================================================
|
|
--- glibc-2.22.orig/math/test-math-isinff.cc
|
|
+++ glibc-2.22/math/test-math-isinff.cc
|
|
@@ -30,12 +30,17 @@ do_test (void)
|
|
header fix this test will not compile. */
|
|
if (isinff (1.0f)
|
|
|| !isinff (INFINITY)
|
|
+#ifndef NO_LONG_DOUBLE
|
|
|| isinfl (1.0L)
|
|
|| !isinfl (INFINITY)
|
|
+#endif
|
|
|| isnanf (2.0f)
|
|
|| !isnanf (NAN)
|
|
+#ifndef NO_LONG_DOUBLE
|
|
|| isnanl (2.0L)
|
|
- || !isnanl (NAN))
|
|
+ || !isnanl (NAN)
|
|
+#endif
|
|
+ )
|
|
{
|
|
printf ("FAIL: Failed to call is* functions.\n");
|
|
exit (1);
|