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@xxxxxxxxxx +1-801-349-2682 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list