Re: [Libguestfs] [PATCH] fuse: resolve absolute links to relative ones

2015-03-23 Thread Richard W.M. Jones
On Wed, Mar 18, 2015 at 02:21:31PM +0100, Maros Zatko wrote: > 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 > --- > src/fuse.c |

[Libguestfs] [PATCH] fuse: resolve absolute links to relative ones

2015-03-18 Thread Maros Zatko
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 --- src/fuse.c | 33 - 1 file changed, 32 insertions(+), 1 d

[Libguestfs] [PATCH] fuse: resolve absolute links to relative ones

2015-03-18 Thread Maros Zatko
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 +