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!
tingping/wmclass
Alexander Larsson 2017-01-19 12:37:43 +01:00
parent a111e8b8ed
commit 27031df5bf
1 changed files with 1 additions and 1 deletions

View File

@ -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 *