Re: [PATCH] virfile: Replace AbsPath judgement method with g_path_is_absolute()

2021-04-12 Thread Martin Kletzander
On Tue, Mar 30, 2021 at 10:58:36PM +0800, Luke Yue wrote: The g_path_is_absolute() considers more situations than just a simply "path[0] == '/'". Related issue: https://gitlab.com/libvirt/libvirt/-/issues/12 Signed-off-by: Luke Yue --- src/util/virfile.c | 2 +- 1 file changed, 1 insertion(+),

[PATCH] virfile: Replace AbsPath judgement method with g_path_is_absolute()

2021-03-30 Thread Luke Yue
The g_path_is_absolute() considers more situations than just a simply "path[0] == '/'". Related issue: https://gitlab.com/libvirt/libvirt/-/issues/12 Signed-off-by: Luke Yue --- src/util/virfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/virfile.c b/src/util/vi