csplit: port to IDX_MAX < INT_MAX
commit3e1c94d273d32ad1a46331ae8833e1a78160d395
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 8 Nov 2024 01:15:12 +0000 (7 17:15 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 9 Nov 2024 07:41:18 +0000 (8 23:41 -0800)
treea6470086aa8a4f45ce287882356c4f6e184ba9f0
parentbd39f96581c29bfd3278db1191e6c25f0122b5b2
csplit: port to IDX_MAX < INT_MAX

* src/csplit.c (max_out): Defend against unlikely IDX_MAX < INT_MAX.
src/csplit.c