summaryrefslogtreecommitdiffstats
path: root/daemon/strings.c
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-05-12 15:58:00 +0100
committerRichard Jones <rjones@redhat.com>2010-05-13 16:22:05 +0100
commit1c6ed48bd3cd471dc6e4613ede9151631e19f55a (patch)
tree5362b4fbb95e91dfa6b1811df9b9f0105309071f /daemon/strings.c
parent72324580801f2c0e2b702b430b90eb141618c7f4 (diff)
downloadlibguestfs-1c6ed48bd3cd471dc6e4613ede9151631e19f55a.tar.gz
libguestfs-1c6ed48bd3cd471dc6e4613ede9151631e19f55a.tar.xz
libguestfs-1c6ed48bd3cd471dc6e4613ede9151631e19f55a.zip
guestfish -i and virt-inspector work on filenames containing spaces (RHBZ#507810).
This commit fixes a long-standing bug which prevented guestfish -i and virt-inspector from working on disk images which had a space in the filename (or other unsafe characters). It works by ensuring that the strings passed between guestfish -i and virt-inspector are quoted correctly in both directions. Note that this commit adds a dependency from virt-inspector to the perl module String::ShellQuote. We have previously used this module in virt-make-fs.
Diffstat (limited to 'daemon/strings.c')
0 files changed, 0 insertions, 0 deletions