[CRIU] [PATCH 6/6] make: config -- Test if strlcat, strlcpy is provided in libbsd

Pavel Emelyanov xemul at parallels.com
Mon Mar 24 09:18:25 PDT 2014


On 03/21/2014 12:04 PM, Cyrill Gorcunov wrote:
> 
> In case if libsd present in system and provides strlcat and strlcpy
> helpers then there is no need to provide own implementations, use
> existing ones.
> 
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> ---
>  Makefile.config           | 4 ++--
>  include/string.h          | 4 ++++
>  scripts/feature-tests.mak | 8 ++++++++
>  3 files changed, 14 insertions(+), 2 deletions(-)
> 


make[1]: Leaving directory `/home/pavel/src/criu'
  DEP      string.d
include/string.h:8:25: fatal error: bsd/string.h: No such file or directory
compilation terminated.
  DEP      protobuf.d
include/string.h:8:25: fatal error: bsd/string.h: No such file or directory
compilation terminated.
  DEP      tun.d
include/string.h:8:25: fatal error: bsd/string.h: No such file or directory
compilation terminated.


I dtop patches 4, 5 and 6. 1, 2 and 3 applied as these are cleanups.


More information about the CRIU mailing list