1. 20 2月, 2008 1 次提交
  2. 07 2月, 2008 1 次提交
  3. 06 2月, 2008 1 次提交
  4. 30 1月, 2008 2 次提交
    • J
      Enable the <config.h>-requiring test; fix violations · a3781881
      Jim Meyering 提交于
      Use <config.h>, not "config.h", per autoconf documentation.
      * Makefile.cfg (local-checks-to-skip) [sc_require_config_h]: Enable.
      * .x-sc_require_config_h: New file, to list exempted files.
      * Makefile.am (EXTRA_DIST): Add .x-sc_require_config_h.
      a3781881
    • J
      Given code like if (foo) free (foo); remove the useless "if (foo) " part. · acff2d11
      Jim Meyering 提交于
      Likewise, given if (foo != NULL) free (foo); remove the useless "if" test.
      
      * proxy/libvirt_proxy.c: Remove unnecessary "if" test before free.
      * python/generator.py: Likewise.
      * qemud/qemud.c: Likewise.
      * src/buf.c: Likewise.
      * src/conf.c: Likewise.
      * src/hash.c: Likewise.
      * src/iptables.c: Likewise.
      * src/libvirt.c: Likewise.
      * src/openvz_conf.c: Likewise.
      * src/qemu_conf.c: Likewise.
      * src/qemu_driver.c: Likewise.
      * src/remote_internal.c: Likewise.
      * src/test.c: Likewise.
      * src/virsh.c: Likewise.
      * src/virterror.c: Likewise.
      * src/xen_internal.c: Likewise.
      * src/xen_unified.c: Likewise.
      * src/xend_internal.c: Likewise.
      * src/xm_internal.c: Likewise.
      * src/xml.c: Likewise.
      * src/xmlrpc.c: Likewise.
      * src/xs_internal.c: Likewise.
      * tests/testutils.c: Likewise.
      * tests/xencapstest.c: Likewise.
      * tests/xmconfigtest.c: Likewise.
      acff2d11
  5. 21 1月, 2008 2 次提交
  6. 18 1月, 2008 2 次提交
    • J
      Handle PyTuple_New's malloc failure. · 02b98afe
      Jim Meyering 提交于
      * python/libvir.c (libvirt_virDomainBlockStats): Handle a NULL
      return from PyTuple_New.
      (libvirt_virDomainInterfaceStats, libvirt_virGetLastError): Likewise.
      (libvirt_virConnGetLastError): Likewise.
      02b98afe
    • J
      Factor out some duplication. · ec6e9b78
      Jim Meyering 提交于
      * python/libvir.c (VIR_PY_NONE): New macro, to encapsulate
      a common two-statement sequence.
      Replace all such 2-stmt sequences.
      ec6e9b78
  7. 12 12月, 2007 1 次提交
    • J
      Use a variable name as sizeof argument, not a type name. · 49230350
      Jim Meyering 提交于
      Given code like: T *var = calloc (n, sizeof (T));
      Convert to this: T *var = calloc (n, sizeof (*var));
      This first-cut change adjusts all malloc, calloc, and
      realloc statements.
      
      The only binary differences are in remote_internal.c
      (due to the bug fix) and in xmlrpc.c (due to factorization).
      
      * python/libvir.c: As above.
      * qemud/event.c: Likewise.
      * qemud/mdns.c: Likewise.
      * qemud/qemud.c: Likewise.
      * qemud/remote.c: Likewise.
      * src/bridge.c: Likewise.
      * src/buf.c: Likewise.
      * src/conf.c: Likewise.
      * src/hash.c: Likewise.
      * src/iptables.c: Likewise.
      * src/openvz_conf.c: Likewise.
      * src/qemu_conf.c: Likewise.
      * src/qemu_driver.c: Likewise.
      * src/test.c: Likewise.
      * src/xen_internal.c: Likewise.
      * src/xen_unified.c: Likewise.
      * src/xm_internal.c: Likewise.
      * src/xml.c: Likewise.
      * tests/qemuxml2argvtest.c: Likewise.
      * src/xmlrpc.c (xmlRpcValuePtr): Likewise, and minor factorization.
      * src/remote_internal.c (remoteAuthMakeCredentials): Use the right
      type when allocating space for an array of cred _pointers_.
      49230350
  8. 07 12月, 2007 2 次提交
  9. 06 12月, 2007 1 次提交
  10. 05 12月, 2007 1 次提交
    • R
      Wed Dec 5 13:48:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com> · 4bfdb77a
      Richard W.M. Jones 提交于
              * python/libvir.c, python/libvirt_wrap.h, qemud/qemud.c,
              qemud/remote.c, src/internal.h, src/openvz_conf.c,
              src/openvz_driver.c, src/proxy_internal.h, src/qemu_conf.c,
              src/qemu_driver.c, src/remote_internal.h, src/test.h, src/util.c,
              src/xen_unified.c, src/xen_unified.h, tests/nodeinfotest.c,
              tests/qemuxml2argvtest.c, tests/qemuxml2xmltest.c, tests/reconnect.c,
              tests/sexpr2xmltest.c, tests/virshtest.c, tests/xencapstest.c,
              tests/xmconfigtest.c, tests/xml2sexprtest.c:
              Change #include <> to #include "" for local includes.
              Removed many includes from src/internal.h and put them in
              the C files which actually use them.
              Removed <ansidecl.h> - unused.
              Added a comment around __func__.
              Removed a clashing redefinition of VERSION symbol.
              All limits (PATH_MAX etc) now done in src/internal.h, so we
              don't need to include those headers in other files.
      4bfdb77a
  11. 30 11月, 2007 2 次提交
  12. 15 11月, 2007 1 次提交
    • J
      Make "make distcheck" work. · d5117af3
      Jim Meyering 提交于
      * Makefile.am: Expand some "*" wildcards, and (for now) disable
        the relatively unimportant, distuninstallcheck target.
        Fix a few redirect-directly-to-target bugs.
        Add a few $(srcdir)/ prefixes and add an uninstall-local rule.
      * docs/Makefile.am: More of the same.  Split some long lines.
      * python/Makefile.am: Likewise.
      * python/tests/Makefile.am: Likewise.
      * qemud/Makefile.am: Likewise.
      * tests/Makefile.am: Remove the directories already listed in SUBDIRS.
      * docs/examples/index.py: Adapt to produce the desired changes in
        docs/examples/Makefile.am. Also, sort *.c, so results are reproducible,
        and emit a comment telling emacs and vi that the file is read-only.
      * docs/examples/Makefile.am: Regenerate.
      
      
      Author: Jim Meyering <meyering@redhat.com>
      d5117af3
  13. 01 10月, 2007 1 次提交
  14. 24 7月, 2007 1 次提交
  15. 26 6月, 2007 1 次提交
  16. 25 6月, 2007 1 次提交
  17. 15 6月, 2007 1 次提交
  18. 29 5月, 2007 1 次提交
  19. 16 4月, 2007 1 次提交
  20. 11 4月, 2007 1 次提交
  21. 28 3月, 2007 1 次提交
  22. 16 3月, 2007 1 次提交
  23. 15 3月, 2007 1 次提交
  24. 09 3月, 2007 1 次提交
  25. 07 3月, 2007 1 次提交
  26. 02 3月, 2007 1 次提交
    • M
      Thu Mar 01 16:17:48 EST 2007 Mark McLoughlin <markmc@redhat.com> · 51d56098
      Mark McLoughlin 提交于
              * acinclude.m4: add LIBVIRT_COMPILE_WARNINGS, copied from
              GNOME but with a few more flags we'd been using.
      
              * configure.in: use that instead of setting CFLAGS
              directly.
      
              * proxy/Makefile.am, python/Makefile.am, qemud/Makefile.am,
                src/Makefile.am, tests/Makefile.am: use $(WARN_CFLAGS)
      51d56098
  27. 15 2月, 2007 1 次提交
  28. 23 1月, 2007 1 次提交
    • M
      Mon Jan 23 14:36:18 IST 2007 Mark McLoughlin <markmc@redhat.com> · 6d153563
      Mark McLoughlin 提交于
              * include/libvirt/libvirt.h.in: add VIR_UUID_BUFLEN and
              VIR_UUID_STRING_BUFLEN
      
              * libvirt/proxy/libvirt_proxy.c, libvirt/src/hash.c,
              libvirt/src/internal.h, libvirt/src/libvirt.c,
              libvirt/src/proxy_internal.c, libvirt/src/test.c,
              libvirt/src/virsh.c, libvirt/src/xend_internal.c,
              libvirt/src/xm_internal.c, libvirt/src/xml.c,
              libvirt/python/libvir.c: use them
      6d153563
  29. 16 11月, 2006 2 次提交
  30. 11 11月, 2006 1 次提交
  31. 09 11月, 2006 1 次提交
  32. 08 11月, 2006 1 次提交
  33. 25 10月, 2006 1 次提交
  34. 29 8月, 2006 1 次提交