1. 30 1月, 2008 5 次提交
    • J
      Update from gnulib · bc48db57
      Jim Meyering 提交于
      * lib/poll.c: Update.
      * lib/string.in.h: Update.
      * m4/string_h.m4: Update.
      * tests/test-getaddrinfo.c: Update.
      * lib/Makefile.am: Regenerate.
      bc48db57
    • 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
      Enable the duplicate-"the" test; fix violations · 9e4c8fcb
      Jim Meyering 提交于
      * Makefile.cfg (local-checks-to-skip) [sc_the_the]: Enable.
      * docs/virsh.pod: Remove a duplicate "the".
      * libvirt.spec.in: Likewise.
      * virsh.1: Likewise.
      9e4c8fcb
    • J
      Add framework for code style- and syntax-checking rules. · cc337da2
      Jim Meyering 提交于
      	Almost all tests are initially disabled via the list in Makefile.cfg.
      	* Makefile.am (EXTRA_DIST): Add .x-sc_avoid_if_before_free.
      	Omit names of files that automake includes automatically.
      	* .x-sc_avoid_if_before_free: New file.
      	* build-aux/vc-list-files: Likewise.
      	* build-aux/find-unnecessary-if-before-free: Likewise.
      	* GNUmakefile, Makefile.cfg, Makefile.maint: New files.
      cc337da2
    • 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
  2. 25 1月, 2008 3 次提交
  3. 24 1月, 2008 2 次提交
  4. 23 1月, 2008 3 次提交
  5. 22 1月, 2008 2 次提交
  6. 21 1月, 2008 9 次提交
  7. 20 1月, 2008 2 次提交
  8. 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
  9. 17 1月, 2008 1 次提交
  10. 15 1月, 2008 3 次提交
  11. 14 1月, 2008 5 次提交
  12. 10 1月, 2008 3 次提交