numam-dpdk/lib/librte_member
Bruce Richardson 6723c0fc72 replace snprintf with strlcpy
Do a global replace of snprintf(..."%s",...) with strlcpy, adding in the
rte_string_fns.h header if needed.  The function changes in this patch were
auto-generated via command:

  spatch --sp-file devtools/cocci/strlcpy.cocci --dir . --in-place

and then the files edited using awk to add in the missing header:

  gawk -i inplace '/include <rte_/ && ! seen { \
  	print "#include <rte_string_fns.h>"; seen=1} {print}'

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
2019-04-04 22:46:05 +02:00
..
Makefile lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
meson.build build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
rte_member_ht.c lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_member_ht.h lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_member_vbf.c lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_member_vbf.h lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_member_version.map
rte_member_x86.h lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_member.c replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
rte_member.h lib: fix missing includes in exported headers 2018-01-17 00:31:05 +01:00