[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] introduce virConfReadString



On 08/07/2017 05:42 PM, Ján Tomko wrote:
> Rewrite virConfReadMem to take a null-terminated string.
> All the callers were calling strlen on it anyway.
> ---
>  daemon/libvirtd-config.c |  2 +-
>  src/libvirt_private.syms |  2 +-
>  src/libxl/libxl_driver.c |  4 ++--
>  src/lxc/lxc_native.c     |  2 +-
>  src/util/virconf.c       | 16 ++++++++--------
>  src/util/virconf.h       |  4 ++--
>  src/vmx/vmx.c            |  4 ++--
>  src/xen/xen_driver.c     |  2 +-
>  tests/virconftest.c      |  8 ++++----
>  tests/xlconfigtest.c     |  2 +-
>  tests/xmconfigtest.c     |  2 +-
>  11 files changed, 24 insertions(+), 24 deletions(-)

Yup, ACK.

Michal


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]