mirror of
https://github.com/rkd77/elinks.git
synced 2025-06-30 22:19:29 -04:00
[docker] bump Fedora version
This commit is contained in:
parent
2ff248f2ac
commit
edca1d9b9b
@ -5,7 +5,7 @@
|
|||||||
# [*] base system
|
# [*] base system
|
||||||
|
|
||||||
# get latest fedora
|
# get latest fedora
|
||||||
FROM fedora:39
|
FROM fedora:40
|
||||||
|
|
||||||
# prepare system
|
# prepare system
|
||||||
RUN dnf -y update && dnf -y install bash wget \
|
RUN dnf -y update && dnf -y install bash wget \
|
||||||
|
@ -653,7 +653,7 @@ diff -up quickjs-2024-01-13/quickjs.c.djgpp quickjs-2024-01-13/quickjs.c
|
|||||||
+#define FE_DOWNWARD 0
|
+#define FE_DOWNWARD 0
|
||||||
+#define FE_UPWARD 0
|
+#define FE_UPWARD 0
|
||||||
+#endif
|
+#endif
|
||||||
+
|
+int fesetround(int a) { return 0; }
|
||||||
+
|
+
|
||||||
/* buf1 contains the printf result */
|
/* buf1 contains the printf result */
|
||||||
static void js_ecvt1(double d, int n_digits, int *decpt, int *sign, char *buf,
|
static void js_ecvt1(double d, int n_digits, int *decpt, int *sign, char *buf,
|
||||||
@ -661,8 +661,8 @@ diff -up quickjs-2024-01-13/quickjs.c.djgpp quickjs-2024-01-13/quickjs.c
|
|||||||
{
|
{
|
||||||
- if (rounding_mode != FE_TONEAREST)
|
- if (rounding_mode != FE_TONEAREST)
|
||||||
- fesetround(rounding_mode);
|
- fesetround(rounding_mode);
|
||||||
+// if (rounding_mode != FE_TONEAREST)
|
+ if (rounding_mode != FE_TONEAREST)
|
||||||
+// fesetround(rounding_mode);
|
+ fesetround(rounding_mode);
|
||||||
snprintf(buf1, buf1_size, "%+.*e", n_digits - 1, d);
|
snprintf(buf1, buf1_size, "%+.*e", n_digits - 1, d);
|
||||||
if (rounding_mode != FE_TONEAREST)
|
if (rounding_mode != FE_TONEAREST)
|
||||||
fesetround(FE_TONEAREST);
|
fesetround(FE_TONEAREST);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user