]> git.ipfire.org Git - thirdparty/libvirt.git/commit
all: Use virFileCanonicalizePath() instead of canonicalize_file_name()
authorAndrea Bolognani <abologna@redhat.com>
Thu, 3 May 2018 08:04:38 +0000 (10:04 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Thu, 3 May 2018 16:23:30 +0000 (18:23 +0200)
commit4267393198000d34f2418a71fed1cd9f4614a9d9
tree1d3f9d73dec5c8f46d45830a07a79c93c710e898
parent9190c37268fb43695aeaec2e64f3aa3f43ae6002
all: Use virFileCanonicalizePath() instead of canonicalize_file_name()

The latter is impossible to mock on platforms that use the
gnulib implementation, such as FreeBSD, while the former
doesn't suffer from this limitation.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/storage/storage_file_fs.c
src/util/virfile.c
src/util/virpci.c
tests/virstoragetest.c
tests/virtestmock.c