[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5] cutils: Provide strchrnul
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH v5] cutils: Provide strchrnul |
Date: |
Wed, 13 Jun 2018 07:42:57 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Keno Fischer <address@hidden> writes:
> strchrnul is a GNU extension and thus unavailable on a number of targets.
> In the review for a commit removing strchrnul from 9p, I was asked to
> create a qemu_strchrnul helper to factor out this functionality.
> Do so, and use it in a number of other places in the code base that inlined
> the replacement pattern in a place where strchrnul could be used.
>
> Signed-off-by: Keno Fischer <address@hidden>
> Acked-by: Greg Kurz <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>