[libvirt PATCH v2 24/56] src: ensure O_CLOEXEC is defined on Windows

Pavel Hrdina phrdina at redhat.com
Tue Jan 28 16:46:27 UTC 2020


On Tue, Jan 28, 2020 at 01:11:05PM +0000, Daniel P. Berrangé wrote:
> Windows uses _O_NOINHERIT as the name for its O_CLOEXEC
> equivalent. Define O_CLOEXEC to match this to fix
> portability when we remove GNULIB.
> 
> Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
> ---
>  src/internal.h | 6 ++++++
>  1 file changed, 6 insertions(+)

Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200128/1cf19258/attachment-0001.sig>


More information about the libvir-list mailing list