f9acaf84e9
For files that already have rte_string_fns.h included in them, we can do a straight replacement of snprintf(..."%s",...) with strlcpy. The changes in this patch were auto-generated via command: spatch --sp-file devtools/cocci/strlcpy-with-header.cocci --dir . --in-place Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> |
||
---|---|---|
.. | ||
cmdline_cirbuf.c | ||
cmdline_cirbuf.h | ||
cmdline_parse_etheraddr.c | ||
cmdline_parse_etheraddr.h | ||
cmdline_parse_ipaddr.c | ||
cmdline_parse_ipaddr.h | ||
cmdline_parse_num.c | ||
cmdline_parse_num.h | ||
cmdline_parse_portlist.c | ||
cmdline_parse_portlist.h | ||
cmdline_parse_string.c | ||
cmdline_parse_string.h | ||
cmdline_parse.c | ||
cmdline_parse.h | ||
cmdline_rdline.c | ||
cmdline_rdline.h | ||
cmdline_socket.c | ||
cmdline_socket.h | ||
cmdline_vt100.c | ||
cmdline_vt100.h | ||
cmdline.c | ||
cmdline.h | ||
Makefile | ||
meson.build | ||
rte_cmdline_version.map |