search for: 5161775f

Displaying 1 result from an estimated 1 matches for "5161775f".

Did you mean: 516175
2019 Aug 16
1
[nbdkit PATCH] ocaml: Map more errno values
...ere is no Unix.EDQUOT, or that would get the same treatment. Signed-off-by: Eric Blake <eblake@redhat.com> --- plugins/ocaml/ocaml.c | 7 +++++++ plugins/ocaml/NBDKit.ml | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/plugins/ocaml/ocaml.c b/plugins/ocaml/ocaml.c index 064cdedb..5161775f 100644 --- a/plugins/ocaml/ocaml.c +++ b/plugins/ocaml/ocaml.c @@ -849,12 +849,19 @@ ocaml_nbdkit_set_error (value nv) int err; switch (Int_val (nv)) { + /* On-the-wire values */ case 1: err = EPERM; break; case 2: err = EIO; break; case 3: err = ENOMEM; break; case 4: err = E...