[libvirt] [PATCH 00/10] tools: remove vshStrdup (glib chronicles)

Ján Tomko jtomko at redhat.com
Sat Oct 19 15:55:34 UTC 2019


On Sat, Oct 19, 2019 at 07:21:15AM -0300, Daniel Henrique Barboza wrote:
>
>
>On 10/18/19 7:37 PM, Ján Tomko wrote:
>>Ján Tomko (10):
>>   tools: cmdDomblkinfoGet: reindent parameters
>>   virsh: use g_strdup in cmdDomblkinfoGet
>>   virsh: use g_strdup in virshDomainGetEditMetadata
>>   virsh: getSignalNumber: rename variables
>>   virsh: getSignalNumber: use g_autofree
>>   virsh: getSignalNumber: use g_strdup
>>   tools: vshCommandArgvGetArg: one parameter per line
>>   tools: vshCommandArgvGetArg: prefer g_strdup
>>   tools: prefer g_strdup to vshStrdup
>>   tools: delete vshStrdup
>
>
>All patches:
>
>Reviewed-by: Daniel Henrique Barboza <danielhb413 at gmail.com>
>
>
>Question: I see that you're pushing the glib chronicles recently. Do 
>you have plans to do the virAsprintf -> g_strdup_printf conversion?
>
>I am asking because I started this conversion yesterday, and the 
>amount of calls to be converted is so massive that it's kind of funny. 
>And it's not a work that I'll be able to full commit during the 
>workday

mprivozn started working on that on Friday using Coccinelle, you need to
ask him. Chances are you already converted some usage that was not
simply caught by his spatch.

Personally I'm working on a branch that does VIR_STRDUP -> g_strdup.

>So, if this conversion is under your radar and you want to 

https://en.wiktionary.org/wiki/under_the_radar

Jano

>get it done ASAP (meaning that you'll get it done faster than I'm 
>capable of), let me know and I'll stand down from pursuing that.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20191019/d9d06069/attachment-0001.sig>


More information about the libvir-list mailing list