diff options
author | Taylor Blau <me@ttaylorr.com> | 2023-04-24 18:20:17 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-04-24 16:01:28 -0700 |
commit | 826f0e33ab0cbe976af02dd487303e4d1a0b3017 (patch) | |
tree | 833d76ae6d29628897373357ad94f4019828c457 /commit.c | |
parent | 492ba81346cc45322d0c26bc927b01a34becf304 (diff) |
t/helper/test-hashmap.c: avoid using `strtok()`
Avoid using the non-reentrant `strtok()` to separate the parts of each
incoming command. Instead of replacing it with `strtok_r()`, let's
instead use the more friendly pair of `string_list_split_in_place()` and
`string_list_remove_empty_items()`.
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions