[Libguestfs] [PATCH] fuse: resolve absolute links to relative ones
Maros Zatko
mzatko at redhat.com
Wed Mar 18 13:21:30 UTC 2015
First it strips /sysroot and then finds common prefix aligned
on slashes. Next it produces ../ for each slash found in common
prefix and concatenates them with the rest of resolved link.
Fixes RHBZ#604041
Maros Zatko (1):
fuse: resolve absolute links to relative ones
src/fuse.c | 33 ++++++++++++++++++++++++++++++++-
1 file changed, 32 insertions(+), 1 deletion(-)
--
1.9.3
More information about the Libguestfs
mailing list