Sebastian Wilhelmi 28a15f95c4 gfileutils: Improve performance of g_canonicalize_filename()
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
2021-11-30 09:42:38 +00:00
..
2017-05-24 11:58:19 +02:00
2017-05-24 11:58:19 +02:00
2019-05-27 17:51:40 +00:00
2017-05-24 11:58:19 +02:00
2017-05-24 11:58:19 +02:00
2020-06-23 10:49:44 +01:00
2017-05-24 11:58:19 +02:00
2021-07-29 10:09:27 -04:00
2017-05-24 11:58:19 +02:00
2021-05-28 17:15:46 +02:00
2021-05-28 17:15:46 +02:00
2017-05-24 11:58:19 +02:00
2017-05-24 11:58:19 +02:00
2017-05-24 11:58:19 +02:00
2017-05-24 11:58:19 +02:00
2017-05-24 11:58:19 +02:00
2017-05-24 11:58:19 +02:00
2021-10-18 13:20:48 +01:00
2020-11-17 15:50:07 +00:00
2018-01-04 22:19:30 +01:00
2019-11-25 13:09:25 +01:00
2017-05-24 11:58:19 +02:00
2021-07-24 11:26:40 -04:00
2017-05-24 11:58:19 +02:00
2017-05-24 11:58:19 +02:00
2019-03-15 21:30:22 +01:00
2017-05-24 11:58:19 +02:00
2017-05-24 11:58:19 +02:00
2017-05-24 11:58:19 +02:00
2017-05-24 11:58:19 +02:00
2017-05-24 11:58:19 +02:00
2021-07-21 13:49:48 +02:00
2017-05-24 11:58:19 +02:00
2017-05-24 11:58:19 +02:00
2019-11-25 13:09:25 +01:00
2021-09-27 14:40:18 +01:00
2019-09-18 10:47:23 +02:00
2021-09-20 10:10:19 +01:00
2017-05-24 11:58:19 +02:00
2021-05-13 22:16:27 +01:00
2020-05-12 12:41:22 +01:00
2021-03-23 11:36:57 +00:00
2021-03-23 11:36:57 +00:00
2017-05-24 11:58:19 +02:00
2021-07-29 10:09:27 -04:00
2017-05-24 11:58:19 +02:00
2021-08-02 14:52:06 +01:00
2017-05-24 11:58:19 +02:00
2017-05-24 11:58:19 +02:00