Re: [PATCH iproute2] Use libbsd for strlcpy if available

2018-10-31 Thread Luca Boccassi
On Wed, 2018-10-31 at 08:09 -0700, Stephen Hemminger wrote: > On Mon, 29 Oct 2018 10:46:50 + > Luca Boccassi wrote: > > > If libc does not provide strlcpy check for libbsd with pkg-config > > to > > avoid relying on inline version. > > > > Signed-off-by: Luca Boccassi > > --- > > This

Re: [PATCH iproute2] Use libbsd for strlcpy if available

2018-10-31 Thread Stephen Hemminger
On Mon, 29 Oct 2018 10:46:50 + Luca Boccassi wrote: > If libc does not provide strlcpy check for libbsd with pkg-config to > avoid relying on inline version. > > Signed-off-by: Luca Boccassi > --- > This allows distro maintainers to be able to choose to reduce > duplication and let this

Re: [PATCH iproute2] Use libbsd for strlcpy if available

2018-10-29 Thread Luca Boccassi
On Mon, 2018-10-29 at 09:27 -0600, David Ahern wrote: > On 10/29/18 4:46 AM, Luca Boccassi wrote: > > If libc does not provide strlcpy check for libbsd with pkg-config > > to > > avoid relying on inline version. > > > > Signed-off-by: Luca Boccassi > > --- > > This allows distro maintainers to

Re: [PATCH iproute2] Use libbsd for strlcpy if available

2018-10-29 Thread David Ahern
On 10/29/18 4:46 AM, Luca Boccassi wrote: > If libc does not provide strlcpy check for libbsd with pkg-config to > avoid relying on inline version. > > Signed-off-by: Luca Boccassi > --- > This allows distro maintainers to be able to choose to reduce > duplication and let this code be maintained

[PATCH iproute2] Use libbsd for strlcpy if available

2018-10-29 Thread Luca Boccassi
If libc does not provide strlcpy check for libbsd with pkg-config to avoid relying on inline version. Signed-off-by: Luca Boccassi --- This allows distro maintainers to be able to choose to reduce duplication and let this code be maintained in one place, in the external library. configure | 12