Lewis Russell
c65646c247
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
2024-09-30 11:51:33 +01:00
..
2024-09-23 14:42:57 +02:00
2024-04-23 18:17:04 +02:00
2024-09-21 16:04:09 +01:00
2024-04-23 18:17:04 +02:00
2024-08-02 19:04:37 +01:00
2024-05-23 15:30:53 -05:00
2024-09-28 00:31:45 +02:00
2024-09-21 16:04:09 +01:00
2024-09-21 16:04:09 +01:00
2024-09-21 16:04:09 +01:00
2024-09-21 16:04:09 +01:00
2024-09-21 16:04:09 +01:00
2024-09-21 16:04:09 +01:00
2024-09-21 16:04:09 +01:00
2024-05-17 14:17:25 -05:00
2024-05-03 19:26:56 +08:00
2024-09-21 16:04:09 +01:00
2024-09-21 16:04:09 +01:00
2024-09-23 14:42:57 +02:00
2024-09-21 16:04:09 +01:00
2024-09-21 16:04:09 +01:00
2024-06-03 09:48:43 +02:00
2024-04-23 18:17:04 +02:00
2024-07-16 19:30:22 +02:00
2024-04-23 18:17:04 +02:00
2024-09-21 16:04:09 +01:00
2024-08-17 22:28:03 -05:00
2024-08-14 14:03:34 +02:00
2024-05-28 02:43:56 -07:00
2024-09-16 11:58:04 +02:00
2024-09-09 12:23:54 +02:00
2024-07-27 14:06:31 +01:00
2024-09-25 07:01:27 -07:00
2024-09-03 02:18:17 -07:00
2024-06-24 20:23:11 +03:00
2024-09-30 11:51:33 +01:00