Re: [PATCH v2] lib: fix multiple strlcpy definition

2017-09-30 Thread Baruch Siach
Hi Stephen, On Fri, Sep 29, 2017 at 11:58:58AM -0700, Stephen Hemminger wrote: > On Thu, 28 Sep 2017 21:02:11 +0300 > Baruch Siach wrote: > > > Some C libraries, like uClibc and musl, provide BSD compatible > > strlcpy(). Add check_strlcpy() to configure, and avoid defining strlcpy > > and strlc

Re: [PATCH v2] lib: fix multiple strlcpy definition

2017-09-29 Thread Stephen Hemminger
On Thu, 28 Sep 2017 21:02:11 +0300 Baruch Siach wrote: > Some C libraries, like uClibc and musl, provide BSD compatible > strlcpy(). Add check_strlcpy() to configure, and avoid defining strlcpy > and strlcat when the C library provides them. > > This fixes the following static link error with uC