mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-07-06 18:05:45 +00:00
util: Improve comment for workaround
Now that a version of GLib that contains the fix has been released, it's more useful to record that information. Adding a TODO annotation makes the whole thing easily greppable. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
e533074983
commit
4419e74117
@ -1747,8 +1747,7 @@ virFindFileInPath(const char *file)
|
|||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
/* Workaround for a bug in g_find_program_in_path() not returning absolute
|
/* Workaround for a bug in g_find_program_in_path() not returning absolute
|
||||||
* path as documented. This has been fixed in
|
* path as documented. TODO drop it once we require GLib >= 2.69.0
|
||||||
* https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2127
|
|
||||||
*/
|
*/
|
||||||
return g_canonicalize_filename(path, NULL);
|
return g_canonicalize_filename(path, NULL);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user