libvirt/tools
Stefan Berger 8e3051af84 replace last instances of close()
I am replacing the last instances of close() I found with VIR_CLOSE() / VIR_FORCE_CLOSE respectively.

The first part patches virsh, which I missed out on previously.

The 2nd patch I had left out intentionally to look at it more carefully:
The 'closed' variable could be easily removed since it wasn't used anywhere else. The possible race condition that could result from the filedescriptor being closed and not set to -1 (and possibly let us write into 'something' totally different if the fd was allocated by another thread) seems to be prevented by the qemuMonitorLock() already placed around the code that reads from or writes to the fd. So the change of this code as shown in the patch should not have any side-effects.
2010-11-17 10:19:13 -05:00
..
.gitignore maint: track moved file 2010-08-31 10:00:31 -06:00
console.c Fix reference counting bug in virsh console 2010-11-11 16:03:36 +00:00
console.h Re-write virsh console to use streams 2010-11-11 16:03:20 +00:00
libvirt_win_icon_16x16.ico Move virsh into tools/ directory 2009-09-21 14:41:45 +01:00
libvirt_win_icon_32x32.ico Move virsh into tools/ directory 2009-09-21 14:41:45 +01:00
libvirt_win_icon_48x48.ico Move virsh into tools/ directory 2009-09-21 14:41:45 +01:00
libvirt_win_icon_64x64.ico Move virsh into tools/ directory 2009-09-21 14:41:45 +01:00
libvirt-guests.init.in libvirt-guests: start late and stop early 2010-09-22 22:53:48 +02:00
libvirt-guests.sysconf Move libvirt-guests init script and config to tools 2010-08-25 14:07:26 +02:00
Makefile.am virsh: Fix compile error in VPATH build 2010-11-12 19:53:27 +01:00
virsh_win_icon.rc Move virsh into tools/ directory 2009-09-21 14:41:45 +01:00
virsh.c replace last instances of close() 2010-11-17 10:19:13 -05:00
virsh.pod virsh: add net-info command 2010-11-16 09:18:06 -07:00
virt-pki-validate.in Fix virt-pki-validate's determination of CN 2010-04-29 20:10:46 -06:00
virt-xml-validate.in build: import latest gnulib 2010-04-02 10:18:55 -06:00