[Libguestfs] hivex, ENOKEY and cygwin

Richard W.M. Jones rjones at redhat.com
Mon Dec 27 16:47:15 UTC 2010


On Sun, Dec 26, 2010 at 08:17:26PM -0500, Jason Copenhaver wrote:
> I was compiling hivex on cygwin and it doesn't because of the use of
> ENOKEY in hivex.c.  This should be defined in errno.h as 126, but on
> cygwin it isn't and the check in .gnulib/m4/errnor_h.m4 doesn't check
> for the presence of ENOKEY.  Just thought I'd let you know in case you
> wanted to add an explicit configure check for ENOKEY.

Yes, we're aware of this.

ENOKEY turns out to be some Linux thing, and not a part of POSIX,
which I neglected to check when I used it as an error code.

If you have a suggested patch please post it on the libguestfs mailing
list.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v




More information about the Libguestfs mailing list