View | Details | Raw Unified | Return to bug 202603 | Differences between
and this patch

Collapse All | Expand All

(-)b/net-p2p/namecoin/files/patch-src_strlcpy.h (+19 lines)
Added Link Here
1
--- src/strlcpy.h.orig	2015-08-23 23:45:51 UTC
2
+++ src/strlcpy.h
3
@@ -15,6 +15,9 @@
4
  */
5
 #ifndef BITCOIN_STRLCPY_H
6
 #define BITCOIN_STRLCPY_H
7
+
8
+#ifndef __BSD_FORTIFY
9
+
10
 /*
11
  * Copy src to string dst of size siz.  At most siz-1 characters
12
  * will be copied.  Always NUL terminates (unless siz == 0).
13
@@ -83,4 +86,6 @@ inline size_t strlcat(char *dst, const c
14
 
15
     return(dlen + (s - src)); /* count does not include NUL */
16
 }
17
+
18
+#endif
19
 #endif

Return to bug 202603