Richard W.M. Jones
40fdcd0146
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, '/');
| ^
2025-12-01 14:00:57 +00:00
..
2025-02-16 17:00:46 +00:00
2017-01-28 13:23:40 +00:00
2025-11-18 16:44:25 +00:00
2025-12-01 14:00:57 +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-11-19 20:32: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
2025-02-16 17:00:46 +00:00
2025-02-16 17:00:46 +00:00
2025-11-19 15:14:24 +00:00
2025-02-16 17:00:46 +00:00
2025-11-19 15:14:39 +00:00
2025-02-16 17:00:46 +00:00
2025-11-18 14:40:49 +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
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