Re: [PATCH v3 6/6] banned.h: mark `strtok()` and `strtok_r()` as banned
- From
Taylor Blau <me@ttaylorr.com>
- Date
- Apr 24, 2023, 23:00 UTC
- Message-ID
- <ZEcKAzwtOUKF14nV@nand.local>
- In-Reply-To
- <CAPx1GvdHWBdA8XZu8ZHf3PO3QC5qVpb9UdNMG9Xegyk_9ZtHwg@mail.gmail.com>
On Mon, Apr 24, 2023 at 03:25:55PM -0700, Chris Torek wrote:
Show 12 quoted lines
> I eyeballed the whole thing (not the same as real tests of course) > and it looks good, but there's one typo (missing-word-o) here of note: > > On Mon, Apr 24, 2023 at 3:20 PM Taylor Blau <me@ttaylorr.com> wrote: > ... > > But there are no instances of this in Git's tree which are more > > well-suited to `strtok_r()` than the friendlier > > `string_list_in_place()`, so ban `strtok_r()`, too. > > > > Signed-off-by: Taylor Blau <me@ttaylorr.com> > > Missing `split_`. Probably not worth a re-roll...
Oops, thanks for noticing.
Thanks, Taylor