[PATCH 4/7] Port strnstr.c to FreeBSD.

Sichen Zhao 1473996754 at qq.com
Thu Aug 17 00:23:14 UTC 2017


---
 libbsd.py     | 1 +
 libbsd_waf.py | 1 +
 2 files changed, 2 insertions(+)

diff --git a/libbsd.py b/libbsd.py
index ea469d3..a0b7f1a 100644
--- a/libbsd.py
+++ b/libbsd.py
@@ -2534,6 +2534,7 @@ def user_space(mm):
             'lib/libc/stdlib/strtonum.c',
             'lib/libc/stdlib/strtoumax.c',
             'lib/libc/string/strsep.c',
+            'lib/libc/string/strnstr.c',
             'lib/libc/xdr/xdr_array.c',
             'lib/libc/xdr/xdr.c',
             'lib/libc/xdr/xdr_float.c',
diff --git a/libbsd_waf.py b/libbsd_waf.py
index 329a62a..02b2cbd 100644
--- a/libbsd_waf.py
+++ b/libbsd_waf.py
@@ -465,6 +465,7 @@ def build(bld):
                      'freebsd/lib/libc/stdlib/strtoimax.c',
                      'freebsd/lib/libc/stdlib/strtonum.c',
                      'freebsd/lib/libc/stdlib/strtoumax.c',
+                     'freebsd/lib/libc/string/strnstr.c',
                      'freebsd/lib/libc/string/strsep.c',
                      'freebsd/lib/libc/xdr/xdr.c',
                      'freebsd/lib/libc/xdr/xdr_array.c',
-- 
2.7.4





More information about the devel mailing list