Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Dec 2017 07:03:52 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r327377 - head/stand/libsa
Message-ID:  <201712300703.vBU73qda077895@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevans
Date: Sat Dec 30 07:03:52 2017
New Revision: 327377
URL: https://svnweb.freebsd.org/changeset/base/327377

Log:
  libsa: Pull in strnlen from libc
  
  strnlen is not used at the moment, but it will be when libfdt gets updated.
  Prepare for the not-so-distant future by pulling in strnlen.
  
  Noticed because:	segfault in ld.bfd due to strnlen missing

Modified:
  head/stand/libsa/Makefile

Modified: head/stand/libsa/Makefile
==============================================================================
--- head/stand/libsa/Makefile	Sat Dec 30 06:53:27 2017	(r327376)
+++ head/stand/libsa/Makefile	Sat Dec 30 07:03:52 2017	(r327377)
@@ -36,7 +36,7 @@ SRCS+=	bcmp.c bcopy.c bzero.c ffs.c fls.c \
 	memccpy.c memchr.c memcmp.c memcpy.c memmove.c memset.c \
 	qdivrem.c strcat.c strchr.c strcmp.c strcpy.c stpcpy.c stpncpy.c \
 	strcspn.c strlcat.c strlcpy.c strlen.c strncat.c strncmp.c strncpy.c \
-	strpbrk.c strrchr.c strsep.c strspn.c strstr.c strtok.c swab.c
+	strnlen.c strpbrk.c strrchr.c strsep.c strspn.c strstr.c strtok.c swab.c
 .if ${MACHINE_CPUARCH} == "arm"
 .PATH: ${LIBC_SRC}/arm/gen
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712300703.vBU73qda077895>