Re: [PATCH v3 6/6] banned.h: mark `strtok()` and `strtok_r()` as banned
- From
Chris Torek <chris.torek@gmail.com>
- Date
- Apr 24, 2023, 22:25 UTC
- Message-ID
- <CAPx1GvdHWBdA8XZu8ZHf3PO3QC5qVpb9UdNMG9Xegyk_9ZtHwg@mail.gmail.com>
- In-Reply-To
- <da896aa358eab65f2629f85189c5be4ad9cec635.1682374789.git.me@ttaylorr.com>
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: ...
Show 5 quoted lines
> 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...
Chris