]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
util: Improve comment for workaround
authorAndrea Bolognani <abologna@redhat.com>
Tue, 25 Apr 2023 13:33:02 +0000 (15:33 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Thu, 4 May 2023 16:30:25 +0000 (18:30 +0200)
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>
src/util/virfile.c

index 657e74e026bba43105500b03ad7b5a689a6f07b9..228482e8f8c7557f119a1ce53c47db21047f25e5 100644 (file)
@@ -1747,8 +1747,7 @@ virFindFileInPath(const char *file)
         return NULL;
 
     /* Workaround for a bug in g_find_program_in_path() not returning absolute
-     * path as documented.  This has been fixed in
-     * https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2127
+     * path as documented. TODO drop it once we require GLib >= 2.69.0
      */
     return g_canonicalize_filename(path, NULL);
 }