shithub: sl

Download patch

ref: 07365981854ea4f45b801db12f5f972fc80aea70
parent: 2fd69143d0b5fc1e09c8e2b9a6ca7d285c785068
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Fri Jun 9 16:17:01 EDT 2023

read: fix UVLONG_MAX values (a bug in 9fronts libc has been fixed)

--- a/read.c
+++ b/read.c
@@ -9,7 +9,7 @@
 static int errno;
 #define VLONG_MAX ~(1LL<<63)
 #define VLONG_MIN (1LL<<63)
-#define UVLONG_MAX (1LL<<63)
+#define UVLONG_MAX (~0ULL)
 static mpint *mp_vlong_min, *mp_vlong_max, *mp_uvlong_max;
 #endif
 
--