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(a)redhat.com +1-801-349-2682
Libvirt virtualization library
http://libvirt.org