aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-01-26 17:13:45 +0100
committerJim Meyering <meyering@redhat.com>2010-01-27 13:39:46 +0100
commitb74aadb3e5f845452afb764c79bfddd94d00a8d8 (patch)
tree9b706b3e0a2c053e12d18f557f9d79d455055363 /bootstrap
parentpci.c: correct an erroneous expression (diff)
downloadlibvirt-b74aadb3e5f845452afb764c79bfddd94d00a8d8.tar.gz
libvirt-b74aadb3e5f845452afb764c79bfddd94d00a8d8.tar.bz2
libvirt-b74aadb3e5f845452afb764c79bfddd94d00a8d8.zip
portability to non-glibc: don't use realpath(..., NULL)
it causes a NULL-dereference on some systems like Solaris 10. * src/node_device/node_device_linux_sysfs.c. Include <stdlib.h>. (get_sriov_function): Use canonicalize_file_name, not realpath. * bootstrap (modules): Add canonicalize-lgpl.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap1
1 files changed, 1 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index aec5d0550..cc3c6ef39 100755
--- a/bootstrap
+++ b/bootstrap
@@ -68,6 +68,7 @@ modules='
areadlink
base64
c-ctype
+canonicalize-lgpl
close
connect
getaddrinfo