]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: avoid close, system
authorEric Blake <eblake@redhat.com>
Fri, 28 Jan 2011 21:22:39 +0000 (14:22 -0700)
committerEric Blake <eblake@redhat.com>
Sat, 29 Jan 2011 17:36:45 +0000 (10:36 -0700)
commite67ae619919acb654b96a6829d9161287f814e71
treeab6e28f586e30130eae1a3201de5f55ea2461174
parentdc52cab12647845d19285ea3ae2ffc5971f619a3
build: avoid close, system

* src/fdstream.c (virFDStreamOpenFile, virFDStreamCreateFile):
Use VIR_FORCE_CLOSE instead of close.
* tests/commandtest.c (mymain): Likewise.
* tools/virsh.c (editFile): Use virCommand instead of system.
* src/util/util.c (__virExec): Special case preservation of std
file descriptors to child.
src/fdstream.c
src/util/util.c
tests/commandtest.c
tools/virsh.c