Re: [PATCH 0/2] use bool type for bool values

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 18.11.2014 01:36, Eric Blake wrote:
I stumbled into this one on work I'm doing with qemu blockinfo.
The DBus interaction code was tricky enough to need to be its own
patch; but I like the end result that clients reading a 'b' entry
from virDBus code can now pass a sane 'bool*' instead of a weird
'int*' variable.

Eric Blake (2):
   virdbus: don't force users to pass int for bool values
   maint: forbid 'int foo = true'

  cfg.mk                       |  6 ++++++
  src/conf/snapshot_conf.c     |  2 +-
  src/qemu/qemu_driver.c       |  4 ++--
  src/test/test_driver.c       |  2 +-
  src/util/vircgroup.c         |  2 +-
  src/util/virdbus.c           | 25 ++++++++++++++-----------
  src/util/virpci.c            |  2 +-
  src/util/virpolkit.c         |  6 +++---
  src/util/virutil.c           |  2 +-
  tests/virdbustest.c          |  4 ++--
  tools/virsh-domain-monitor.c |  2 +-
  tools/virsh-domain.c         | 12 ++++++------
  12 files changed, 39 insertions(+), 30 deletions(-)


ACK to both.

Michal

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]