aboutsummaryrefslogtreecommitdiff
path: root/clib
diff options
context:
space:
mode:
Diffstat (limited to 'clib')
-rw-r--r--clib/cThread.ml4
-rw-r--r--clib/unicode.ml1
2 files changed, 3 insertions, 2 deletions
diff --git a/clib/cThread.ml b/clib/cThread.ml
index 9e0319e8f8..5fa44b1eec 100644
--- a/clib/cThread.ml
+++ b/clib/cThread.ml
@@ -100,10 +100,10 @@ let thread_friendly_input_value ic =
(* On the ocaml runtime used in some opam-for-windows version the
* [Thread.sigmask] API raises Invalid_argument "not implemented",
* hence we protect the call and turn the exception into a no-op *)
-let protect_sigalrm f x =
+let mask_sigalrm f x =
begin try ignore(Thread.sigmask Unix.SIG_BLOCK [Sys.sigalrm])
with Invalid_argument _ -> () end;
f x
let create f x =
- Thread.create (protect_sigalrm f) x
+ Thread.create (mask_sigalrm f) x
diff --git a/clib/unicode.ml b/clib/unicode.ml
index 1e45c0d250..a122e2c46a 100644
--- a/clib/unicode.ml
+++ b/clib/unicode.ml
@@ -86,6 +86,7 @@ let classify =
Unicodetable.ll; (* Letter, lowercase. *)
Unicodetable.lt; (* Letter, titlecase. *)
Unicodetable.lo; (* Letter, others. *)
+ Unicodetable.lm; (* Letter, modifier. *)
];
mk_lookup_table_from_unicode_tables_for IdentPart
[