[Libguestfs] [PATCH 2/2] build: Replace ./nbdkit with a C program.

Richard W.M. Jones rjones at redhat.com
Wed Nov 14 13:56:07 UTC 2018

On Wed, Nov 14, 2018 at 07:54:16AM -0600, Eric Blake wrote:
> Ah, but here, we can rely on the fact that optarg is NULL when there
> is no option (regardless of whether the option was short or long).
> (It's trickier if there are any optional_argument entries for
> has_arg - but since we stick to just no_argument and
> required_argument, we don't have to worry about that).

Hmm, good point.  Let me think about that for v3.


Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch

More information about the Libguestfs mailing list