From: Taylor Blau Date: Tue, 18 Apr 2023 14:56:59 GMT Subject: tb/ban-strtok (was: Re: What's cooking in git.git (Apr 2023, #05; Mon, 17)) Message-ID: In-Reply-To: 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: 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