Richard W.M. Jones
f7224e1cbe
fish: Fix const correctness in strrchr
...
In C23, strchr or strrchr on a const parameter now returns a const
pointer. We saw this error:
destpaths.c: In function ‘complete_dest_paths_generator’:
destpaths.c:165:9: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
165 | p = strrchr (text, '/');
| ^
(cherry picked from commit 40fdcd0146 )
2026-03-07 09:32:30 +00:00
..
2025-02-16 17:00:46 +00:00
2017-01-28 13:23:40 +00:00
2025-02-16 17:00:46 +00:00
2026-03-07 09:32:30 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2017-09-30 22:17:05 +01:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2013-10-17 15:23:40 +01:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-02-13 11:15:34 +00:00
2025-02-13 11:15:34 +00:00
2025-02-13 11:15:34 +00:00
2025-02-13 11:15:34 +00:00
2025-02-13 11:15:34 +00:00
2025-02-13 11:15:34 +00:00
2025-02-13 11:15:34 +00:00
2025-02-13 11:15:34 +00:00
2025-02-13 11:15:34 +00:00
2025-02-13 11:15:34 +00:00
2025-02-13 11:15:34 +00:00
2025-02-13 11:15:34 +00:00
2025-02-13 11:15:34 +00:00
2025-02-13 11:15:34 +00:00
2025-02-13 11:15:34 +00:00
2025-02-16 17:00:46 +00:00
2025-02-13 11:15:34 +00:00
2025-02-13 11:15:34 +00:00
2025-02-13 11:15:34 +00:00
2025-02-13 11:15:34 +00:00
2025-02-13 11:15:34 +00:00
2025-02-13 11:15:34 +00:00
2025-02-13 11:15:34 +00:00
2025-02-13 11:15:34 +00:00
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2016-02-26 10:45:21 +00:00
2025-02-16 17:00:46 +00:00
2016-02-26 10:45:21 +00:00
2025-02-16 17:00:46 +00:00
2016-02-26 10:45:21 +00:00
2025-02-16 17:00:46 +00:00
2016-02-26 10:45:21 +00:00
2025-02-16 17:00:46 +00:00