[libvirt PATCH 04/32] src: remove usage of strchrnul function

Pavel Hrdina phrdina at redhat.com
Fri Jan 24 12:57:51 UTC 2020


On Thu, Jan 23, 2020 at 11:42:57AM +0000, Daniel P. Berrangé wrote:
> The strchrnul function doesn't exist on Windows and rather
> than attempt to implement it, it is simpler to just avoid
> its usage, as any callers are easily adapted.
> 
> Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
> ---
>  src/openvz/openvz_conf.c        |  4 +++-
>  src/security/security_selinux.c | 16 ++++++++--------
>  src/util/vircgroup.c            | 10 +++++++---
>  src/util/virdnsmasq.c           |  9 +++++++--
>  src/util/virsysinfo.c           | 14 ++++++++------
>  tests/testutils.c               |  2 +-
>  6 files changed, 34 insertions(+), 21 deletions(-)

Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200124/a3de7b77/attachment-0001.sig>


More information about the libvir-list mailing list