Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tools/compat Add strnlen to configure tests in tools/compat



details:   https://anonhg.NetBSD.org/src/rev/9e9189a084f6
branches:  trunk
changeset: 325847:9e9189a084f6
user:      apb <apb%NetBSD.org@localhost>
date:      Thu Jan 09 11:26:58 2014 +0000

description:
Add strnlen to configure tests in tools/compat

diffstat:

 tools/compat/configure.ac |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r df558dc6d1f2 -r 9e9189a084f6 tools/compat/configure.ac
--- a/tools/compat/configure.ac Thu Jan 09 11:25:11 2014 +0000
+++ b/tools/compat/configure.ac Thu Jan 09 11:26:58 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: configure.ac,v 1.80 2013/08/14 10:14:45 jmcneill Exp $
+#      $NetBSD: configure.ac,v 1.81 2014/01/09 11:26:58 apb Exp $
 #
 # Autoconf definition file for libnbcompat.
 #
@@ -160,7 +160,7 @@
        pwrite raise_default_signal random setenv \
        setgroupent setprogname setpassent \
        snprintb_m snprintf strlcat strlcpy strmode \
-       strndup strsep strsuftoll strtoll \
+       strndup strnlen strsep strsuftoll strtoll \
        user_from_uid uid_from_user vasprintf vasnprintf vsnprintf)
 
 AC_CHECK_DECLS([user_from_uid, uid_from_user, pwcache_userdb],,,[
@@ -169,7 +169,7 @@
 AC_CHECK_DECLS([group_from_gid, gid_from_group, pwcache_groupdb],,,[
 #include <grp.h>
 ])
-AC_CHECK_DECLS([strndup],,,[#include <string.h>])
+AC_CHECK_DECLS([strndup, strnlen],,,[#include <string.h>])
 AC_CHECK_DECLS([strsuftoll],,,[#include <stdlib.h>])
 AC_CHECK_DECLS([lchflags, lchmod, lchown],,,[
 #include <sys/stat.h>



Home | Main Index | Thread Index | Old Index