On Tue, Apr 18, 2023 at 01:12:34AM -0700, Junio C Hamano wrote: > * tb/ban-strtok (2023-04-14) 5 commits > - banned.h: mark `strtok()`, `strtok_r()` as banned > - t/helper/test-json-writer.c: avoid using `strtok()` > - t/helper/test-oidmap.c: avoid using `strtok()` > - t/helper/test-hashmap.c: avoid using `strtok()` > - string-list: introduce `string_list_split_in_place_multi()` > > Mark strtok() and strtok_r() to be banned. > > source: <cover.1681428696.git.me@xxxxxxxxxxxx> This one needs a reroll to remove `strtok_r()` from the proposed banned list, and to support slightly different semantics the new string_list_split_in_place_multi() function. Will send today. Thanks, Taylor