[libvirt] [PATCH] build: update gnulib for pipe on mingw
Eric Blake
eblake at redhat.com
Fri Dec 10 23:25:32 UTC 2010
On 12/10/2010 03:55 PM, Eric Blake wrote:
> I've fixed pipe() in gnulib. waitpid() will need a bit more
> invasive fix; I'm thinking of creating:
>
> struct virPid {
> #ifdef WIN32
> HANDLE pid;
> #else
> pid_t pid;
> #endif
> };
Not quite necessary; _spawn() in mingw returns a pid_t, and _cwait() in
mingw comes pretty close to approximating waitpid(). But still some
gymnastics to perform.
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20101210/12de9d0a/attachment-0001.sig>
More information about the libvir-list
mailing list