libvirt/python
Jim Meyering 49230350fa Use a variable name as sizeof argument, not a type name.
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_.
2007-12-11 21:57:29 +00:00
..
tests Make "make distcheck" work. 2007-11-15 13:04:28 +00:00
.cvsignore Fixed up numerous compiler warnings 2007-03-06 21:55:44 +00:00
generator.py * python/generator.py python/libvir.c python/libvirt-python-api.xml: 2007-12-07 08:41:01 +00:00
libvir.c Use a variable name as sizeof argument, not a type name. 2007-12-11 21:57:29 +00:00
libvir.py Add manual impl of virConnectOpenAuth python binding 2007-12-05 19:09:23 +00:00
libvirt_wrap.h Wed Dec 5 13:48:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com> 2007-12-05 13:56:22 +00:00
libvirt-python-api.xml * python/generator.py python/libvir.c python/libvirt-python-api.xml: 2007-12-07 08:41:01 +00:00
Makefile.am Fri Nov 30 11:04:00 GMT 2007 Richard W.M. Jones <rjones@redhat.com> 2007-11-30 11:10:53 +00:00
TODO * python/*: update of the python bindings, fix names, add 2006-01-31 10:24:12 +00:00
types.c Include "config.h" in remaining non-generated files. 2007-12-07 10:08:06 +00:00