Pino Toscano
2019-Nov-29 12:16 UTC
[Libguestfs] [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
Richard W.M. Jones
2019-Nov-29 12:55 UTC
Re: [Libguestfs] [PATCH] ocaml: add handling for errno ENOSPC
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
Seemingly Similar Threads
- [PATCH 1/3] ocaml: dynamically generate the content of Guestfs.Errno
- [nbdkit PATCH] ocaml: Map more errno values
- [PATCH] v2v: Give better diagnostics if filesystem falls back to read-only (RHBZ#1567763).
- Re: [nbdkit PATCH 2/5] retry: Check size before transactions
- [nbdkit PATCH] connections: Improve error responses