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

2021-04-21 Thread Luke Yue
On Wed, 2021-04-21 at 10:03 +0200, Michal Privoznik wrote: > On 4/20/21 6:44 AM, 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

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

2021-04-21 Thread Michal Privoznik
On 4/20/21 6:44 AM, 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/conf/backup_conf.c| 2 +- src/conf/snapshot_conf.c

[PATCH 1/1] Replace AbsPath judgement method with g_path_is_absolute()

2021-04-19 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/conf/backup_conf.c| 2 +- src/conf/snapshot_conf.c | 2 +- src/conf/storage_source_conf.c