From 1a1a4d436974d6b3a2abc21c14d032c4625753fb Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sat, 28 Sep 2019 00:20:02 +0200 Subject: Fix absolute file paths in rdsquashfs unpacker Canonicalize the file names to make the diagnostics less scary. Signed-off-by: David Oberhollenzer --- unpack/restore_fstree.c | 1 + 1 file changed, 1 insertion(+) (limited to 'unpack') diff --git a/unpack/restore_fstree.c b/unpack/restore_fstree.c index 1736c47..8aa283c 100644 --- a/unpack/restore_fstree.c +++ b/unpack/restore_fstree.c @@ -14,6 +14,7 @@ static int create_node(const sqfs_tree_node_t *n, int flags) if (!(flags & UNPACK_QUIET)) { name = sqfs_tree_node_get_path(n); + canonicalize_name(name); printf("creating %s\n", name); free(name); } -- cgit v1.2.3