Skip to content

Backport !2374 “gfileutils: Improve performance of g_canonicalize_filename()” to glib-2-70

Improve the performance of canonicalising filenames with many .. or . components, by modifying the path inline rather than calling memmove().

Signed-off-by: Philip Withnall pwithnall@endlessos.org

Fixes: #2541 (closed)


Trivial backport of !2374 (merged) to glib-2-70.

Merge request reports