aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2010-06-14 14:54:31 -0600
committerEric Blake <eblake@redhat.com>2010-06-14 15:11:49 -0600
commit352b6df34d930eb6e7c1f79f295ab6dff9b273e2 (patch)
tree3413dead5b8b20018d70c1d168616697bc6d353c /tests/xml2sexprdata
parentFix enumeration of partitions in disks with a trailing digit in path (diff)
downloadlibvirt-352b6df34d930eb6e7c1f79f295ab6dff9b273e2.tar.gz
libvirt-352b6df34d930eb6e7c1f79f295ab6dff9b273e2.tar.bz2
libvirt-352b6df34d930eb6e7c1f79f295ab6dff9b273e2.zip
parthelper: fix compilation without optimization
Daniel's patch works with gcc and CFLAGS containing -O (the autoconf default), but fails with non-gcc or with other CFLAGS (such as -g), since c-ctype.h declares c_isdigit as a macro only for certain compilation settings. * src/Makefile.am (libvirt_parthelper_LDFLAGS): Add gnulib library, for when c_isdigit is not a macro. * src/storage/parthelper.c (main): Avoid out-of-bounds dereference, noticed by Jim Meyering.
Diffstat (limited to 'tests/xml2sexprdata')
0 files changed, 0 insertions, 0 deletions