]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: avoid double-close bug with pipe2
authorEric Blake <eblake@redhat.com>
Wed, 29 Jun 2011 22:11:30 +0000 (16:11 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 30 Jun 2011 17:36:52 +0000 (11:36 -0600)
commitdbf055efa081d317581bff6f95b166f0c8a21d09
treede0966105a3924ca6eb5b61afde2c48e18f86ab9
parent0a8a79af53a72b75fb8edd94bd3689e990c482ff
build: avoid double-close bug with pipe2

Based on Coverity's finding on the previous patch, I audited
gnulib's pipe2 code and found that we had the potential for
a subtle double-close bug, unless gnulib guarantees that the
contents of the fd array are unchanged on pipe2() failure.

* .gnulib: Update to latest, for pipe2 fix.
.gnulib