]> git.ipfire.org Git - thirdparty/libvirt.git/commit
bye to close(), welcome to VIR_(FORCE_)CLOSE()
authorStefan Berger <stefanb@us.ibm.com>
Tue, 9 Nov 2010 20:48:48 +0000 (15:48 -0500)
committerStefan Berger <stefanb@us.ibm.com>
Tue, 9 Nov 2010 20:48:48 +0000 (15:48 -0500)
commit60ae1c34ad3a56d2c09aa9ad473cb12112e7a772
treeef0263b822828c52c32cefe4fd121cbcfcbbdefb
parent4362552dc1a7e0d3e2b470069b1e01700c26645a
bye to close(), welcome to VIR_(FORCE_)CLOSE()

Using automated replacement with sed and editing I have now replaced all
occurrences of close() with VIR_(FORCE_)CLOSE() except for one, of
course. Some replacements were straight forward, others I needed to pay
attention. I hope I payed attention in all the right places... Please
have a look. This should have at least solved one more double-close
error.
43 files changed:
daemon/libvirtd.c
src/lxc/lxc_container.c
src/lxc/lxc_controller.c
src/lxc/lxc_driver.c
src/node_device/node_device_linux_sysfs.c
src/nwfilter/nwfilter_ebiptables_driver.c
src/openvz/openvz_conf.c
src/openvz/openvz_driver.c
src/phyp/phyp_driver.c
src/qemu/qemu_conf.c
src/qemu/qemu_driver.c
src/qemu/qemu_monitor.c
src/remote/remote_driver.c
src/secret/secret_driver.c
src/security/security_apparmor.c
src/security/security_selinux.c
src/security/virt-aa-helper.c
src/storage/storage_backend.c
src/storage/storage_backend_fs.c
src/storage/storage_backend_iscsi.c
src/storage/storage_backend_mpath.c
src/storage/storage_backend_scsi.c
src/storage/storage_driver.c
src/test/test_driver.c
src/uml/uml_conf.c
src/uml/uml_driver.c
src/util/bridge.c
src/util/conf.c
src/util/hooks.c
src/util/interface.c
src/util/logging.c
src/util/macvtap.c
src/util/pci.c
src/util/storage_file.c
src/util/util.c
src/util/uuid.c
src/util/virtaudit.c
src/xen/xen_hypervisor.c
src/xen/xen_inotify.c
src/xen/xend_internal.c
tests/testutils.c
tools/console.c
tools/virsh.c