d30235b5b6
* After starting Thunderbird, the message list position was sometimes set to an incorrect position MFSA 2024-30 (bsc#1226316) * CVE-2024-6600 (bmo#1888340) Memory corruption in WebGL API * CVE-2024-6601 (bmo#1890748) Race condition in permission assignment * CVE-2024-6602 (bmo#1895032) Memory corruption in NSS * CVE-2024-6603 (bmo#1895081) Memory corruption in thread creation * CVE-2024-6604 (bmo#1748105, bmo#1837550, bmo#1884266) Memory safety bugs fixed in Firefox 128, Firefox ESR 115.13, and Thunderbird 115.13 OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaThunderbird?expand=0&rev=765
34 lines
1021 B
Diff
34 lines
1021 B
Diff
# HG changeset patch
|
|
# User Wolfgang Rosenauer <wr@rosenauer.org>
|
|
# Parent fa8a5832a374ccd7af5db927b992b5d9f15273ef
|
|
|
|
diff --git a/modules/fdlibm/src/math_private.h b/modules/fdlibm/src/math_private.h
|
|
--- a/modules/fdlibm/src/math_private.h
|
|
+++ b/modules/fdlibm/src/math_private.h
|
|
@@ -25,19 +25,24 @@
|
|
|
|
#include "fdlibm.h"
|
|
|
|
/*
|
|
* Emulate FreeBSD internal double types.
|
|
* Adapted from https://github.com/freebsd/freebsd-src/search?q=__double_t
|
|
*/
|
|
|
|
+#ifdef __i386__
|
|
+typedef long double __double_t;
|
|
+typedef long double __float_t;
|
|
+#else
|
|
typedef double __double_t;
|
|
+typedef float __float_t;
|
|
+#endif
|
|
typedef __double_t double_t;
|
|
-typedef float __float_t;
|
|
|
|
/*
|
|
* The original fdlibm code used statements like:
|
|
* n0 = ((*(int*)&one)>>29)^1; * index of high word *
|
|
* ix0 = *(n0+(int*)&x); * high word of x *
|
|
* ix1 = *((1-n0)+(int*)&x); * low word of x *
|
|
* to dig two 32 bit words out of the 64 bit IEEE floating point
|
|
* value. That is non-ANSI, and, moreover, the gcc instruction
|