1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-01-03 14:57:44 -05:00

[docker] bump Fedora version

This commit is contained in:
Witold Filipczyk 2025-01-01 15:46:20 +01:00
parent 2ff248f2ac
commit edca1d9b9b
2 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@
# [*] base system
# get latest fedora
FROM fedora:39
FROM fedora:40
# prepare system
RUN dnf -y update && dnf -y install bash wget \

View File

@ -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_UPWARD 0
+#endif
+
+int fesetround(int a) { return 0; }
+
/* buf1 contains the printf result */
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)
- fesetround(rounding_mode);
+// if (rounding_mode != FE_TONEAREST)
+// fesetround(rounding_mode);
+ if (rounding_mode != FE_TONEAREST)
+ fesetround(rounding_mode);
snprintf(buf1, buf1_size, "%+.*e", n_digits - 1, d);
if (rounding_mode != FE_TONEAREST)
fesetround(FE_TONEAREST);