Re: [libvirt] [PATCH 00/75] Drop virAsprintf() in favor of g_strdup_printf()

2019-11-12 Thread Michal Privoznik
On 11/11/19 12:00 AM, Daniel Henrique Barboza wrote: Hey, On 10/22/19 10:57 AM, Michal Privoznik wrote: You can find these also on my github:    https://github.com/zippy2/libvirt/tree/virasprintf_void Good luck. What's the status on this? I am waiting this big boy to land upstream so I

Re: [libvirt] [PATCH 00/75] Drop virAsprintf() in favor of g_strdup_printf()

2019-10-23 Thread Richard W.M. Jones
On Wed, Oct 23, 2019 at 10:18:58AM +0200, Michal Privoznik wrote: [...] Thanks for the explanation. In case you didn't discover it, cocci has a very responsive upstream mailing list: https://systeme.lip6.fr/mailman/listinfo/cocci > 1: Thing is, while coccinelle understands C very well, it

Re: [libvirt] [PATCH 00/75] Drop virAsprintf() in favor of g_strdup_printf()

2019-10-23 Thread Michal Privoznik
On 10/22/19 3:57 PM, Michal Privoznik wrote: > For future reference and anybody interested, I've made these changes using coccinelle http://coccinelle.lip6.fr/ I've used three semantic patches (aka spatch). The first one was to rename virAsprintfQueit() to virAsprintf(). It is trivial: $ cat

[libvirt] [PATCH 00/75] Drop virAsprintf() in favor of g_strdup_printf()

2019-10-22 Thread Michal Privoznik
You can find these also on my github: https://github.com/zippy2/libvirt/tree/virasprintf_void Good luck. Michal Prívozník (75): src: Don't rely on virAsprintf() returning string length qemu_command: Change logic in qemuVirCommandGet{FDSet,GetDevSet} access: Drop virAsprintf() and