git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
f9acaf8
)
replace snprintf with strlcpy without adding extra include
author
Bruce Richardson
<bruce.richardson@intel.com>
Wed, 3 Apr 2019 14:45:04 +0000
(15:45 +0100)
committer
Thomas Monjalon
<thomas@monjalon.net>
Thu, 4 Apr 2019 20:45:54 +0000
(22:45 +0200)
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>
No differences found