Replace shell_quote function with %Q and %R printf specifiers.
authorRichard Jones <rjones@trick.home.annexia.org>
Mon, 27 Jul 2009 21:27:45 +0000 (22:27 +0100)
committerRichard Jones <rjones@trick.home.annexia.org>
Tue, 28 Jul 2009 09:57:57 +0000 (10:57 +0100)
commit0f2e9c84e9ff1071260770930068642ecc8ac0d9
treef4e466d6fb3710d589c21c8849c27f9f2f55ced2
parentbf920f57677c67f903cf8c4c985ce3d290b1dbde
Replace shell_quote function with %Q and %R printf specifiers.

%Q => simple shell quoted string
%R => path will be prefixed by /sysroot

eg. snprintf (cmd, sizeof cmd, "cat %R", path); system (cmd);
HACKING
daemon/configure.ac
daemon/daemon.h
daemon/file.c
daemon/find.c
daemon/grub.c
daemon/guestfsd.c
daemon/initrd.c
daemon/tar.c