dev-ml/ocaml-inifiles: changing deprecated funcs

Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone
2024-11-16 19:58:08 +01:00
parent 1e85bc8f15
commit ac70f01a25

View File

@@ -1,5 +1,14 @@
--- a/inifiles.ml
+++ b/inifiles.ml
@@ -50,7 +50,7 @@
struct
type t = string
let compare (x:t) (y:t) =
- String.compare (String.lowercase x) (String.lowercase y)
+ String.compare (String.lowercase_ascii x) (String.lowercase_ascii y)
end
module Strset = Set.Make(Ordstr)
@@ -257,7 +257,7 @@
func
initial