Re: [PATCH] build: update gnulib for pipe on mingw

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]