Re: [PATCH v2 1/5] introduce virSnprintf helper

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

 



On 09/12/2014 08:47 PM, John Ferlan wrote:


On 09/10/2014 08:08 AM, Pavel Hrdina wrote:
Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx>
---
  src/libvirt_private.syms |  1 +
  src/util/virstring.c     | 25 +++++++++++++++++++++++++
  src/util/virstring.h     | 20 ++++++++++++++++++++
  3 files changed, 46 insertions(+)


Not sure why this is necessary - I do see calls to 'snprintf' from
within existing libvirt code.  The usage you have in patch 5 could
easily use snprintf. There is no need for variable argument list.

I'm not against it, but if it's created shouldn't other snprintf's use it?

Hopefully someone else has an opinion on this...

John

OK, I'll drop it for this patch series.

[..]

--
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]