[PATCH] ocaml: add handling for errno ENOSPC
--- generator/OCaml.ml | 1 + 1 file changed, 1 insertion(+) diff --git a/generator/OCaml.ml b/generator/OCaml.ml index 92a913015..363aa5232 100644 --- a/generator/OCaml.ml +++ b/generator/OCaml.ml @@ -41,6 +41,7 @@ let ocaml_errnos = [ "ESRCH"; "ENOENT"; "EROFS"; + "ENOSPC"; ] (* Generate the OCaml bindings interface. *) -- 2.21.0
On Fri, Nov 29, 2019 at 01:16:52PM +0100, Pino Toscano wrote:
--- generator/OCaml.ml | 1 + 1 file changed, 1 insertion(+)
diff --git a/generator/OCaml.ml b/generator/OCaml.ml index 92a913015..363aa5232 100644 --- a/generator/OCaml.ml +++ b/generator/OCaml.ml @@ -41,6 +41,7 @@ let ocaml_errnos = [ "ESRCH"; "ENOENT"; "EROFS"; + "ENOSPC"; ]
(* Generate the OCaml bindings interface. *)
ACK. As long as the errno codes are defined by POSIX you may as well add any you need without review. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top
participants (2)
-
Pino Toscano -
Richard W.M. Jones