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-04-23 18:17:04 +02:00
2024-04-23 18:17:04 +02:00
2024-06-02 07:37:27 +00:00
2024-04-23 18:17:04 +02:00
2024-04-23 18:17:04 +02:00
2024-05-23 16:02:13 -05:00
2024-04-30 13:39:27 +01:00
2024-04-23 18:17:04 +02:00
2024-04-23 18:17:04 +02:00
2024-05-24 10:57:21 -05:00
2024-04-23 18:17:04 +02:00
2024-05-12 23:53:24 +02:00
2024-04-23 18:17:04 +02:00
2024-04-26 08:43:29 -07:00
2024-05-03 19:26:56 +08:00
2024-04-23 18:17:04 +02:00
2024-04-25 08:37:18 +02:00
2024-04-23 18:17:04 +02:00
2024-04-23 18:17:04 +02:00
2024-04-23 18:17:04 +02:00
2024-05-27 22:39:22 +00:00
2024-04-23 18:17:04 +02:00
2024-07-17 11:42:03 +02:00
2024-04-23 18:17:04 +02:00
2024-04-23 18:17:04 +02:00
2024-04-23 18:17:04 +02:00
2024-04-23 18:17:04 +02:00
2024-05-28 03:06:20 -07:00
2024-05-03 03:20:03 -07:00
2024-04-23 18:17:04 +02:00
2024-07-27 15:30:53 +02:00
2024-05-16 05:33:04 -07:00
2024-04-23 18:17:04 +02:00
2024-09-30 12:34:01 +01:00