From 27031df5bf0f0c31e7c10f4d687e952def8fc9fd Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Thu, 19 Jan 2017 12:37:43 +0100 Subject: [PATCH] flatpak_resolve_symlink: Properly make paths absolute We need to use g_build_filename, g_build_path takes a separator as the first arg, not a path! --- common/flatpak-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/flatpak-utils.c b/common/flatpak-utils.c index 2f16a25dd..d48feddb3 100644 --- a/common/flatpak-utils.c +++ b/common/flatpak-utils.c @@ -2182,7 +2182,7 @@ flatpak_resolve_link (const char *path, return g_steal_pointer (&link); dirname = g_path_get_dirname (path); - return g_build_path (dirname, link, NULL); + return g_build_filename (dirname, link, NULL); } char *