[PATCH 00/16] Improve virStrcpy and remove virStrncpy

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

 



Peter Krempa (16):
  util: virstring: Always copy string in virStrcpy
  virProcessRunInForkHelper: Use virStrcpyStatic for static buffers
  sanlock: Use virStrcpy instead of virStrncpy
  virDevMapperGetTargetsImpl: Use virStrcpy instead of virStrncpy
  virFileLoopDeviceAssociate: Use virStrcpy instead of virStrncpy
  xenParseXMDisk: Replace g_new + virStrncpy by g_strndup
  test_driver: Rewrite testBuildFilename
  xenParseVif: Refactor parser
  xenParseSxprSound: Refactor parsing of model list
  openvzReadNetworkConf: Rework parser
  xenParseXLChannel: Use g_strndup instead of virStrndup
  xenParseXLUSBController: Avoid use of virStrndup
  xenParseXLUSB: Rewrite to avoid virStrncpy
  virNetLibsshAuthenticatePrivkeyCb: Use g_autofree for 'actual_prompt'
  virNetLibsshAuthenticatePrivkeyCb: Use virStrcpy instead of virStrncpy
  util: virstring: Remove virStrncpy

 docs/coding-style.rst             |  13 ---
 src/libvirt_private.syms          |   1 -
 src/libxl/xen_common.c            | 182 +++++++++++-------------------
 src/libxl/xen_xl.c                |  84 ++++----------
 src/libxl/xen_xm.c                |   9 +-
 src/locking/lock_driver_sanlock.c |   4 +-
 src/openvz/openvz_conf.c          |  77 +++++--------
 src/rpc/virnetlibsshsession.c     |  17 +--
 src/test/test_driver.c            |  35 +-----
 src/util/virdevmapper.c           |   2 +-
 src/util/virfile.c                |   3 +-
 src/util/virprocess.c             |   8 +-
 src/util/virstring.c              |  54 +--------
 src/util/virstring.h              |   5 +-
 14 files changed, 137 insertions(+), 357 deletions(-)

-- 
2.29.2




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

  Powered by Linux