Re: [dpdk-dev] [PATCH] eal: support strlcat function

2019-01-17 Thread Ferruh Yigit
On 1/16/2019 12:48 PM, Bruce Richardson wrote: > Add the strlcat function to DPDK to exist alongside the strlcpy one. While > strncat is generally safe for use for concatenation, the API for the > strlcat function is perhaps a little nicer to use, and supports truncation > detection. > > See comm

Re: [dpdk-dev] [PATCH] eal: support strlcat function

2019-01-17 Thread Burakov, Anatoly
On 17-Jan-19 11:00 AM, Bruce Richardson wrote: On Thu, Jan 17, 2019 at 10:39:02AM +, Burakov, Anatoly wrote: On 16-Jan-19 12:48 PM, Bruce Richardson wrote: Add the strlcat function to DPDK to exist alongside the strlcpy one. While strncat is generally safe for use for concatenation, the API

Re: [dpdk-dev] [PATCH] eal: support strlcat function

2019-01-17 Thread Bruce Richardson
On Thu, Jan 17, 2019 at 10:39:02AM +, Burakov, Anatoly wrote: > On 16-Jan-19 12:48 PM, Bruce Richardson wrote: > > Add the strlcat function to DPDK to exist alongside the strlcpy one. > > While strncat is generally safe for use for concatenation, the API for > > the strlcat function is perhaps

Re: [dpdk-dev] [PATCH] eal: support strlcat function

2019-01-17 Thread Burakov, Anatoly
On 16-Jan-19 12:48 PM, Bruce Richardson wrote: Add the strlcat function to DPDK to exist alongside the strlcpy one. While strncat is generally safe for use for concatenation, the API for the strlcat function is perhaps a little nicer to use, and supports truncation detection. See commit: 5364de

[dpdk-dev] [PATCH] eal: support strlcat function

2019-01-16 Thread Bruce Richardson
Add the strlcat function to DPDK to exist alongside the strlcpy one. While strncat is generally safe for use for concatenation, the API for the strlcat function is perhaps a little nicer to use, and supports truncation detection. See commit: 5364de644a4b ("eal: support strlcpy function") for more