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-09-30 12:34:01 +01:00
2024-06-04 09:26:54 +00:00
2024-03-27 10:39:46 +00:00
2024-09-23 13:41:47 +00:00
2024-01-24 19:26:53 +01:00
2024-09-27 10:55:11 +00:00
2023-12-21 11:47:04 +08:00
2024-05-23 16:02:13 -05:00
2024-06-15 02:21:35 +00:00
2024-04-23 08:23:45 -07:00
2024-03-06 10:45:22 +00:00
2024-04-26 15:13:06 +01:00
2024-02-13 14:49:20 +00:00
2024-04-21 17:08:07 +02:00
2024-04-15 04:33:09 -07:00
2024-05-14 09:42:42 +01:00
2024-08-02 16:04:35 +02:00
2024-01-16 09:33:10 +00:00
2024-09-23 23:04:34 +00:00
2024-09-23 13:41:47 +00:00
2024-03-27 10:39:46 +00:00
2024-01-19 11:54:04 +00:00
2024-09-11 14:36:22 +01:00
2024-05-12 23:53:24 +02:00
2022-08-23 13:02:55 +02:00
2024-05-15 07:18:33 +08:00
2024-03-16 19:26:10 +00:00
2024-09-23 13:41:47 +00:00
2024-07-17 11:41:53 +02:00
2024-02-03 16:53:41 +01:00
2024-01-14 11:08:33 +00:00
2024-03-16 19:26:10 +00:00
2024-05-15 13:48:29 +01:00
2024-07-17 11:42:03 +02:00
2024-04-30 07:04:42 +08:00
2024-06-13 01:09:49 +00:00
2024-05-05 06:08:17 +08:00
2024-09-16 12:04:01 +02:00
2024-02-28 10:50:53 +01:00
2024-07-27 15:30:53 +02:00
2023-12-20 18:58:40 +01:00