Re: [PATCH 0/2] VIR_STRDUP ease of use

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

 



On 05/07/2013 03:37 AM, Michal Privoznik wrote:
> On 07.05.2013 05:24, Eric Blake wrote:
>> As pointed out during my (ongoing) review of Michal's series, I
>> think that letting VIR_STRDUP take a NULL source can make it
>> easier to use; I also think that documenting the guarantee that
>> it evaluates arguments exactly once is worth enforcing.
>>
>> Hmm, I guess that means I should write a 3/2 patch that enhances
>> the testsuite to intentionally do a side effect and show that it
>> happens exactly once.
>>
>> Eric Blake (2):
>>   alloc: make VIR_APPEND_ELEMENT safer
>>   string: make VIR_STRDUP easier to use
>>
>>  HACKING              | 19 ++++++++++++-------
>>  docs/hacking.html.in | 16 ++++++++++++----
>>  src/util/viralloc.c  |  9 ++++++---
>>  src/util/viralloc.h  | 36 +++++++++++++++++++++++++++---------
>>  src/util/virstring.c | 12 ++++++++----
>>  src/util/virstring.h | 22 ++++++++++++++++------
>>  6 files changed, 81 insertions(+), 33 deletions(-)
>>
> 
> ACK series

Pushed, and I'm now working on a 3/2 patch for improving the testsuite.

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

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]