Files
Justin M. Keyes 87b42e1209 build: lint "strtol" #40442
Problem:
No lint for strtol().

Solution:
Add lint, and update existing usages.

Callers that previously got a (garbage) large positive value:
- `indent.c`: use getdigits() (intmax, no int truncation) with def=1 so
  overflow/too-large values stay positive and fall through to the
  existing "too big" check (E475).
- `file_search.c`: use getdigits() with def=255 so overflow/too-large
  values keep the "max expand" (else) branch.

The other conversions (api/command.c, eval/window.c, highlight_group.c,
tui/tui.c) only diverge on pathological overflow inputs where strtol's
result was already garbage and the observable outcome is unchanged.
2026-06-28 19:01:24 -04:00
..
2024-01-03 02:09:29 +01:00
2024-01-03 02:09:29 +01:00
2016-10-28 14:33:13 +02:00
2017-03-15 15:01:06 +01:00
2017-05-01 22:13:23 +02:00
2017-11-07 23:54:31 +01:00
2018-06-11 00:46:49 +02:00
2018-12-31 01:06:17 +01:00
2019-09-15 17:28:42 -07:00
2021-07-02 17:54:29 +02:00
2021-11-30 18:20:42 +01:00
2022-04-15 13:38:44 +02:00
2022-09-30 17:15:13 +02:00
2023-04-07 13:26:29 +02:00
2024-05-16 14:34:32 +02:00
2025-03-26 14:48:09 +01:00
2026-03-29 18:16:17 +02:00
2016-11-15 05:01:25 +01:00
2026-06-28 19:01:24 -04:00
2023-11-12 21:26:39 +01:00
2026-05-07 10:36:48 +02:00