1. 07 12月, 2007 3 次提交
  2. 06 12月, 2007 22 次提交
  3. 05 12月, 2007 7 次提交
  4. 04 12月, 2007 2 次提交
  5. 03 12月, 2007 2 次提交
  6. 01 12月, 2007 3 次提交
  7. 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