- 09 5月, 2008 1 次提交
-
-
由 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>.
-
- 25 4月, 2008 1 次提交
-
-
由 Jim Meyering 提交于
* src/util.h (to_uchar): Define function. * src/nodeinfo.c (linuxNodeInfoCPUPopulate): Apply to_uchar to is* operand. * src/qemu_driver.c (qemudExtractMonitorPath): Likewise. * src/sexpr.c (_string2sexpr): Likewise. * src/stats_linux.c (xenLinuxDomainDeviceID): Likewise. * src/util.c (TOLOWER, __virMacAddrCompare, virParseMacAddr): Likewise. * src/virsh.c (cmdVcpupin, vshCommandGetToken): Likewise.
-
- 11 4月, 2008 1 次提交
-
-
由 Jim Meyering 提交于
Done with these commands: git grep -l Local.variab|xargs \ perl -0x3b -pi -e 's,\n+/\*\n \* vim:(.|\n)*,\n,' git grep -l Local.variab|xargs \ perl -0x3b -pi -e 's,\n+/\*\n \* Local variables:\n(.|\n)*,\n,'
-
- 08 2月, 2008 1 次提交
-
-
由 Mark McLoughlin 提交于
* src/internal.h: move xstrol() variants from here ... * src/util.[ch]: ... to here and rename to virStrToLong() * src/libvirt_sym.version: export __virStrToLong_i() for virsh and qemud. * src/nodeinfo.c, src/stats_linux.c, src/virsh.c, src/xend_internal.c, qemud/qemud.c: replace xstrtol() calls with virStrToLong() * src/nodeinfo.h: don't include internal.h, which was only needed for xstrtol(), but instead include libvirt.h which is suffificient for the declarations in the header.
-
- 30 1月, 2008 2 次提交
-
-
由 Daniel P. Berrange 提交于
-
由 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.
-
- 20 11月, 2007 2 次提交
-
-
由 Richard W.M. Jones 提交于
* src/virterror.c, src/stats_linux.c, include/libvirt/virterror.h: Renamed the VIR_FROM_LINUX error as VIR_FROM_STATS_LINUX for consistency.
-
由 Daniel Veillard 提交于
src/stats_linux.c src/virterror.c src/xm_internal.c: patch from Saori Fukuta cleaning up various problems in the error reporting layers Daniel
-
- 17 11月, 2007 1 次提交
-
-
由 Daniel P. Berrange 提交于
-
- 16 11月, 2007 1 次提交
-
-
由 Richard W.M. Jones 提交于
* src/stats_linux.c: Fix parsing of short interface names occurring in the /proc/net/dev file. * src/qemu_driver.c: Collect interface stats for QEMU & KVM domains.
-
- 15 11月, 2007 1 次提交
-
-
由 Daniel Veillard 提交于
when Xen isn't installed * src/qemu_conf.h: small cleanup of signedness of bitfields from Jim Paris Daniel
-
- 14 11月, 2007 1 次提交
-
-
由 Richard W.M. Jones 提交于
* src/stats_linux.c, src/stats_linux.h, src_xen_internal.c: Abstract out the Linux-specific statistics. Fixed parsing of 64 bit numbers. * src/Makefile.am: Updated Makefile for new files.
-