Lewis Russell
f31e29fce4
fix(diff): use mmfile_t in linematch
...
Problem:
Linematch used to use strchr to navigate a string, however strchr does
not supoprt embedded NULs.
Solution:
Use `mmfile_t` instead of `char *` in linematch and introduce `strnchr()`.
Also remove heap allocations from `matching_char_iwhite()`
Fixes : #30505
(cherry picked from commit c65646c247 )
2024-09-30 12:34:01 +01:00
..
2024-05-14 08:27:17 +02:00
2024-03-19 09:41:16 +01:00
2024-04-27 11:01:14 +02:00
2024-09-30 12:34:01 +01:00
2024-09-10 09:51:05 +02:00
2024-05-02 00:37:16 +02:00
2023-11-05 21:56:56 +01:00
2024-09-30 12:34:01 +01:00
2024-02-16 08:57:45 +01:00
2024-03-24 10:32:07 +01:00
2024-08-24 22:08:04 +00:00
2024-07-28 16:36:22 +02:00
2022-03-13 04:52:45 +00:00
2024-05-28 07:00:03 +00:00
2022-08-20 10:04:55 +02:00
2024-03-28 09:32:32 +08:00
2024-02-01 12:06:55 +01:00
2023-08-13 13:25:10 +01:00
2024-03-23 11:46:23 +08:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2014-07-29 02:12:31 +00:00
2024-01-16 17:45:57 +00:00
2023-08-24 11:33:06 +09:00
2024-03-14 15:04:31 +08:00
2022-10-13 05:48:12 -07:00
2024-07-24 09:20:05 +02:00
2022-05-13 11:58:22 -07:00
2019-03-11 21:00:12 +01:00
2024-03-11 11:38:13 +08:00
2024-01-16 17:45:57 +00:00