Richard W.M. Jones
2010-May-19 11:33 UTC
[Libguestfs] [PATCH] generator: Some String parameters should be OptString (RHBZ#501894).
-- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://et.redhat.com/~rjones/virt-top -------------- next part -------------->From 34a463e8a3f5c05f8258c2b6cfaa6d983e703c83 Mon Sep 17 00:00:00 2001From: Richard Jones <rjones at redhat.com> Date: Wed, 19 May 2010 12:25:03 +0100 Subject: [PATCH 1/2] generator: Some String parameters should be OptString (RHBZ#501894). I haven't checked the list of functions exhaustively, but these are the obvious ones. --- src/generator.ml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/generator.ml b/src/generator.ml index 32a8140..f976d81 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -575,7 +575,7 @@ The first character of C<param> string must be a C<-> (dash). C<value> can be NULL."); - ("set_qemu", (RErr, [String "qemu"]), -1, [FishAlias "qemu"], + ("set_qemu", (RErr, [OptString "qemu"]), -1, [FishAlias "qemu"], [], "set the qemu binary", "\ @@ -607,7 +607,7 @@ Return the current qemu binary. This is always non-NULL. If it wasn't set already, then this will return the default qemu binary name."); - ("set_path", (RErr, [String "searchpath"]), -1, [FishAlias "path"], + ("set_path", (RErr, [OptString "searchpath"]), -1, [FishAlias "path"], [], "set the search path", "\ -- 1.6.6.1
Maybe Matching Threads
- [PATCH] ocaml: Fix thread safety of strings in bindings (RHBZ#604691).
- [PATCH] Document that ntfsresize cannot be used multiple times (RHBZ#685009).
- [PATCH v1] Allow 9p filesystems to be mounted and listed (RHBZ#714981) *UNTESTED*.
- [PATCH 0/3] Various fixes to the Ruby bindings (RHBZ#667610).
- [PATCH 0/2] Fix tar-in, tgz-in commands (RHBZ#580246)