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
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to