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

Re: [libvirt] [PATCH 2/2] Adapt to new VIR_STRNDUP behavior



On 05/24/2013 03:53 AM, Michal Privoznik wrote:
> With previous patch, we accept negative value as length of string to
> duplicate. So there is no need to pass strlen(src) in case we want to do
> duplicate the whole string.
> ---
>  src/conf/domain_conf.c  |  6 ++----
>  src/qemu/qemu_command.c | 14 ++++++--------
>  src/util/virsexpr.c     |  2 +-
>  src/xenxs/xen_sxpr.c    |  4 ++--
>  4 files changed, 11 insertions(+), 15 deletions(-)

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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