OSDN Git Service

Define HAVE_{STRLCPY,STRLCAT} to 1.
authorGeorge Burgess IV <gbiv@google.com>
Wed, 26 Oct 2016 18:40:05 +0000 (11:40 -0700)
committerGeorge Burgess IV <gbiv@google.com>
Thu, 9 Feb 2017 00:55:28 +0000 (16:55 -0800)
Bionic has both of these functions; their redeclarations break our
new-style FORTIFY.

Bug: 32073964
Test: Builds with new FORITFY
Change-Id: Ia6e43117012dc83f6f11ae78a74bb1f4b07c75fc

config.h

index 4d012f1..5acadd1 100644 (file)
--- a/config.h
+++ b/config.h
 #define HAVE_STRING_H 1
 
 /* Define to 1 if you have the `strlcat' function. */
-/* #undef HAVE_STRLCAT */
+#define HAVE_STRLCAT 1
 
 /* Define to 1 if you have the `strlcpy' function. */
-/* #undef HAVE_STRLCPY */
+#define HAVE_STRLCPY 1
 
 /* Define to 1 if you have the `strmode' function. */
 /* #undef HAVE_STRMODE */