Open Innf107 opened 1 year ago
This string matching looks a bit fragile (OS/locale dependent). Perhaps we should get action_execve
to output errno and just match on that (e.g. execve:7:...
)?
strerrorname_np
is GNU-specific, but we can use caml_unix_error_of_code
to convert integer codes to OCaml values.
Fix #556