| 277b6e7e | 03-Apr-2019 |
Bruce Richardson <bruce.richardson@intel.com> |
devtools/cocci: create safer version of strlcpy script
The existing cocci script for coccinelle replaces all matching instances of snprintf() with strlcpy() without regards to header inclusion. To a
devtools/cocci: create safer version of strlcpy script
The existing cocci script for coccinelle replaces all matching instances of snprintf() with strlcpy() without regards to header inclusion. To allow changes without build errors, we create a safer version of this script that only makes changes when the rte_string_fns.h header is already included.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|