1. 09 5月, 2008 8 次提交
    • J
      Use gnulib's c-ctype.h, not <ctype.h>. · 25534052
      Jim Meyering 提交于
      # Convert uses of isspace to c_isspace, isdigit to c_isdigit, etc.
      re=$(man isspace|grep is.....,.is|sed 's/ -.*//' \
        |tr -s ', \n' \||sed 's/^|//;s/|$//')
      git grep -l -E "$re"|grep -Ev 'Chan|gnulib' \
        |xargs perl -pi -e 's/\b('"$re"')\b/c_$1/g'
      # Remove all uses of to_uchar
      git grep -l to_uchar|xargs perl -pi -e 's/to_uchar\((.*?)\)/$1/g'
      * src/util.h (to_uchar): Remove definition.
      (TOLOWER): Remove definition.
      (__virMacAddrCompare): Use c_tolower, not TOLOWER.
      Globally:
        Where needed, change <ctype.h> to <c-ctype.h>.
        Remove unnecessary inclusion of <ctype.h>.
      Ensure the global changes are never needed again:
      * Makefile.maint (sc_avoid_ctype_macros): Prohibit use of ctype
      macros.   Recommend c-ctype.h instead.
      (sc_prohibit_c_ctype_without_use): New rule.
      (sc_prohibit_ctype_h): New rule.  Disallow use of <ctype.h>.
      25534052
    • J
      Prepare to use gnulib's c-type module. · 82892f13
      Jim Meyering 提交于
      * bootstrap: Move module list into separate variable w/less syntax.
      (modules): Add c-ctype.
      Update the following from gnulib:
      * build-aux/useless-if-before-free:
      * build-aux/vc-list-files:
      * gnulib/lib/Makefile.am:
      * gnulib/lib/getaddrinfo.h:
      * gnulib/m4/gnulib-cache.m4:
      * gnulib/m4/gnulib-comp.m4:
      * gnulib/m4/inet_ntop.m4:
      * gnulib/tests/Makefile.am:
      * gnulib/tests/test-getaddrinfo.c:
      82892f13
    • D
      autostart for running Xen domains · 5e1bd046
      Daniel Veillard 提交于
      * src/xen_unified.c src/xend_internal.c src/xend_internal.h: patch
        from Cole Robinson implementing autostart for running Xen domains
      Daniel
      5e1bd046
    • J
      sytnax-check: add a check for risky ctype macro use · eb046f9d
      Jim Meyering 提交于
      * Makefile.maint (sc_risky_ctype_macros): New rule.
      eb046f9d
    • J
      avoid one more ctype vs. sign-extension problem · b8111adf
      Jim Meyering 提交于
      * src/util.c (TOLOWER): Also convert tolower argument.
      b8111adf
    • J
      complete the previous change · 6d132b54
      Jim Meyering 提交于
      6d132b54
    • J
      add "const" and "static" attributes to file-scoped globals · 71225100
      Jim Meyering 提交于
      * src/storage_backend_fs.c (fileTypeInfo): Add "static" and two
      "const" attributes.
      (FileTypeInfo): Name the previously anonymous struct,
      so the declaration of fileTypeInfo looks more conventional.
      * src/xend_internal.c (sound_models): Mark as static, and
      as an array of "const" entries.
      
      These were relatively new additions to the list from here:
      nm src/*.o|grep ' D '
      71225100
    • D
      *** empty log message *** · 6ca76333
      David L. Leskovec 提交于
      6ca76333
  2. 08 5月, 2008 6 次提交
  3. 07 5月, 2008 5 次提交
  4. 06 5月, 2008 1 次提交
  5. 02 5月, 2008 1 次提交
  6. 01 5月, 2008 2 次提交
  7. 30 4月, 2008 9 次提交
    • D
      Add compat for RHEL-5 autoconf · a9420c22
      Daniel P. Berrange 提交于
      a9420c22
    • D
      Ignore coverage data files · d50cce88
      Daniel P. Berrange 提交于
      d50cce88
    • D
      159cb2b9
    • J
      303277a8
    • D
      Ignore python JIT file · e70d98a5
      Daniel P. Berrange 提交于
      e70d98a5
    • J
      eb6c33cd
    • J
      Fix build errors. · ffdc37c2
      Jim Meyering 提交于
      * proxy/Makefile.am (libvirt_proxy_LDADD): Add ../gnulib/lib/libgnu.la.
      * gnulib/lib/arpa_inet.in.h: Add new file from gnulib.
      ffdc37c2
    • J
      update from gnulib · 130426c6
      Jim Meyering 提交于
      * gnulib/lib/inet_ntop.h: Remove file.
      * gnulib/m4/onceonly_2_57.m4: Remove file.
      * build-aux/useless-if-before-free: Update.
      * build-aux/vc-list-files: Update.
      * gnulib/lib/.cvsignore: Update.
      * gnulib/lib/Makefile.am: Update.
      * gnulib/lib/fseeko.c: Update.
      * gnulib/lib/getaddrinfo.c: Update.
      * gnulib/lib/getdelim.c: Update.
      * gnulib/lib/inet_ntop.c: Update.
      * gnulib/lib/inet_ntop.h: Update.
      * gnulib/lib/poll.c: Update.
      * gnulib/lib/snprintf.c: Update.
      * gnulib/lib/stdlib.in.h: Update.
      * gnulib/lib/string.in.h: Update.
      * gnulib/lib/sys_socket.in.h: Update.
      * gnulib/lib/sys_stat.in.h: Update.
      * gnulib/lib/vasnprintf.c: Update.
      * gnulib/lib/vasprintf.c: Update.
      * gnulib/lib/wchar.in.h: Update.
      * gnulib/m4/arpa_inet_h.m4: Update.
      * gnulib/m4/extensions.m4: Update.
      * gnulib/m4/gnulib-common.m4: Update.
      * gnulib/m4/gnulib-comp.m4: Update.
      * gnulib/m4/include_next.m4: Update.
      * gnulib/m4/inet_ntop.m4: Update.
      * gnulib/m4/netinet_in_h.m4: Update.
      * gnulib/m4/onceonly_2_57.m4: Update.
      * gnulib/m4/physmem.m4: Update.
      * gnulib/m4/snprintf.m4: Update.
      * gnulib/m4/stdint.m4: Update.
      * gnulib/m4/stdio_h.m4: Update.
      * gnulib/m4/stdlib_h.m4: Update.
      * gnulib/m4/string_h.m4: Update.
      * gnulib/m4/strndup.m4: Update.
      * gnulib/m4/sys_select_h.m4: Update.
      * gnulib/m4/sys_socket_h.m4: Update.
      * gnulib/m4/sys_stat_h.m4: Update.
      * gnulib/m4/vasnprintf.m4: Update.
      * gnulib/tests/Makefile.am: Update.
      * gnulib/tests/test-fseeko.c: Update.
      * gnulib/tests/test-getaddrinfo.c: Update.
      * gnulib/tests/test-getdelim.c: Update.
      * gnulib/tests/test-getline.c: Update.
      * gnulib/tests/test-lseek.c: Update.
      * gnulib/tests/test-snprintf.c: Update.
      * gnulib/tests/test-sys_stat.c: Update.
      * gnulib/tests/test-vasnprintf.c: Update.
      * gnulib/tests/test-vasprintf.c: Update.
      130426c6
    • J
      remove useless tests before xmlFree · 0c37f598
      Jim Meyering 提交于
      * src/qemu_conf.c (qemudParseDiskXML, qemudParseInterfaceXML):
      (qemudParseInputXML, qemudParseDhcpRangesXML):
      * src/remote_internal.c (doRemoteOpen):
      * src/storage_conf.c (virStoragePoolDefParseDoc):
      * src/xm_internal.c (xenXMParseXMLDisk, xenXMParseXMLVif):
      (xenXMParseXMLToConfig, xenXMAttachInterface):
      * src/xml.c (virDomainParseXMLDiskDesc, virDomainParseXMLIfDesc):
      (virDomainXMLDevID):
      0c37f598
  8. 29 4月, 2008 8 次提交