[libvirt] [libvirt-php 0/2] Introduce set_error() function and fix compilation warnings

Michal Novotny minovotn at redhat.com
Wed Feb 9 13:11:38 UTC 2011


Hi,
this is the patch to introduce set_error() function to be able to set error from
everywhere we want (and not just using the libvirt error handler), e.g. when the
API function is not available in the libvirt version the user is using. Also, the
formatting and error handling has been fixed.

Second part of the patch is fixing the compilation warnings. Patch has been tested
on Fedora 14 box using php 5.3.4-1 version of Fedora 14 and it was working as
designed.

Michal

Signed-off-by: Michal Novotny <minovotn at redhat.com>

Michal Novotny (2):
  Introduce set_error() function and fix error handling/formatting
  Fix compilation warnings

 libvirt.c     |  382 ++++++++++++++++++++++++++++++++-------------------------
 php_libvirt.h |    4 -
 2 files changed, 212 insertions(+), 174 deletions(-)

-- 
1.7.3.2




More information about the libvir-list mailing list