Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-openssh: 提交

external/openssh


Commit MetaInfo

修订版7b5a7c1b3bb341c2ce7fa7d6386d4204680a92e4 (tree)
时间2017-02-09 09:55:28
作者George Burgess IV <gbiv@goog...>
CommiterGeorge Burgess IV

Log Message

Define HAVE_{STRLCPY,STRLCAT} to 1.

Bionic has both of these functions; their redeclarations break our
new-style FORTIFY.

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

更改概述

差异

--- a/config.h
+++ b/config.h
@@ -972,10 +972,10 @@
972972 #define HAVE_STRING_H 1
973973
974974 /* Define to 1 if you have the `strlcat' function. */
975-/* #undef HAVE_STRLCAT */
975+#define HAVE_STRLCAT 1
976976
977977 /* Define to 1 if you have the `strlcpy' function. */
978-/* #undef HAVE_STRLCPY */
978+#define HAVE_STRLCPY 1
979979
980980 /* Define to 1 if you have the `strmode' function. */
981981 /* #undef HAVE_STRMODE */
Show on old repository browser