Re: [libvirt] [PATCH 00/34] Use g_strdup instead of VIR_STRDUP (glib chronicles)

2019-10-22 Thread Michal Privoznik
On 10/20/19 2:55 PM, Ján Tomko wrote: Note that VIR_STRDUP is still defined at the end of this series, due to sharing a test with VIR_STRNDUP. Removing VIR_STRNDUP will require some extra care, since GLib's g_strndup does not accept a length of -1 as an alias for acting like g_strdup. Ján Tomko

[libvirt] [PATCH 00/34] Use g_strdup instead of VIR_STRDUP (glib chronicles)

2019-10-20 Thread Ján Tomko
Note that VIR_STRDUP is still defined at the end of this series, due to sharing a test with VIR_STRNDUP. Removing VIR_STRNDUP will require some extra care, since GLib's g_strndup does not accept a length of -1 as an alias for acting like g_strdup. Ján Tomko (34): scripts: introduce a macro file