1. 11 4月, 2008 1 次提交
  2. 30 11月, 2007 1 次提交
    • J
      Detect heap allocation failure; factor out some duplication. · c3c80a18
      Jim Meyering 提交于
      * qemud/qemud.c (tls_port, tcp_port, mdns_name, tls_allowed_ip_list):
        (tls_allowed_dn_list): Remove "const", now that we free these.
        (unix_sock_rw_mask): Rename from unix_sock_rw_perms, so that
        the latter name can be used as a local string variable, so that the
        variable name matches the config attribute name.
        (unix_sock_ro_mask): Rename from unix_sock_ro_perms, likewise.
        (remoteCheckDN, remoteCheckAccess): Adapt to const removal.
        (qemudDispatchServer): Check for heap allocation failure.
        (remoteConfigGetStringList): New function, based on code from Dan Berrangé.
        (CHECK_TYPE): Remove macro.
        (checkType): New function.
        (GET_CONF_INT, GET_CONF_STR): New macros.
        (remoteReadConfigFile): Use new macros to avoid duplication and to
        check for allocation failure.
      * src/conf.h (virConfTypeName): New static inline function.
      c3c80a18
  3. 10 3月, 2007 1 次提交
  4. 16 11月, 2006 1 次提交
  5. 30 8月, 2006 1 次提交
    • D
      * TODO libvirt.spec.in: update · 3bbac7cd
      Daniel Veillard 提交于
      * configure.in include/libvirt/virterror.h src/Makefile.am
        src/conf.c src/conf.h src/virterror.c src/xen_internal.c:
        adding a subset of Xen config file parser, and serializer
      * tests/Makefile.am tests/conftest.c tests/test_conf.sh
        tests/confdata/Makefile.am tests/confdata/fc4.conf
        tests/confdata/fc4.out: adding test program for config in and out
      Daniel
      3bbac7cd