+2234. [port] Correct some compiler warnings on SCO OSr5 [RT #17134]
+
2233. [func] Add support for O(1) ACL processing, based on
radix tree code originally written by kevin
brintnall. [RT #16288]
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: check-tool.c,v 1.30 2007/08/06 01:06:49 marka Exp $ */
+/* $Id: check-tool.c,v 1.31 2007/09/13 04:45:18 each Exp $ */
/*! \file */
#include <config.h>
#include <stdio.h>
-#include <string.h>
#include "check-tool.h"
-#include <isc/util.h>
-
#include <isc/buffer.h>
#include <isc/log.h>
-#include <isc/net.h>
+#include <isc/mem.h>
#include <isc/netdb.h>
+#include <isc/net.h>
#include <isc/region.h>
#include <isc/stdio.h>
+#include <isc/string.h>
#include <isc/symtab.h>
#include <isc/types.h>
-#include <isc/mem.h>
+#include <isc/util.h>
#include <dns/fixedname.h>
#include <dns/log.h>
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: config.c,v 1.79 2007/06/18 23:47:18 tbox Exp $ */
+/* $Id: config.c,v 1.80 2007/09/13 04:45:18 each Exp $ */
/*! \file */
#include <config.h>
#include <stdlib.h>
-#include <string.h>
#include <isc/buffer.h>
#include <isc/log.h>
#include <isc/region.h>
#include <isc/result.h>
#include <isc/sockaddr.h>
+#include <isc/string.h>
#include <isc/util.h>
#include <isccfg/namedconf.h>
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: control.c,v 1.32 2007/06/18 23:47:18 tbox Exp $ */
+/* $Id: control.c,v 1.33 2007/09/13 04:45:18 each Exp $ */
/*! \file */
#include <config.h>
-#include <string.h>
#include <isc/app.h>
#include <isc/event.h>
#include <isc/mem.h>
+#include <isc/string.h>
#include <isc/timer.h>
#include <isc/util.h>
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: lwtest.c,v 1.28 2007/06/19 23:47:04 tbox Exp $ */
+/* $Id: lwtest.c,v 1.29 2007/09/13 04:45:18 each Exp $ */
#include <config.h>
#include <assert.h>
#include <stdlib.h>
-#include <string.h>
#include <isc/net.h>
+#include <isc/string.h>
#include <lwres/lwres.h>
#include <lwres/netdb.h>
esyscmd([sed "s/^/# /" COPYRIGHT])dnl
AC_DIVERT_POP()dnl
-AC_REVISION($Revision: 1.430 $)
+AC_REVISION($Revision: 1.431 $)
AC_INIT(lib/dns/name.c)
AC_PREREQ(2.59)
;;
esac
+AC_CHECK_HEADERS(strings.h,
+ ISC_PLATFORM_HAVESTRINGSH="#define ISC_PLATFORM_HAVESTRINGSH 1"
+,
+ ISC_PLATFORM_HAVESTRINGSH="#undef ISC_PLATFORM_HAVESTRINGSH"
+)
+AC_SUBST(ISC_PLATFORM_HAVESTRINGSH)
+
#
# Check for if_nametoindex() for IPv6 scoped addresses support
#
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: check.c,v 1.82 2007/09/12 01:09:08 each Exp $ */
+/* $Id: check.c,v 1.83 2007/09/13 04:45:18 each Exp $ */
/*! \file */
#include <config.h>
#include <stdlib.h>
-#include <string.h>
#include <isc/buffer.h>
#include <isc/log.h>
#include <isc/region.h>
#include <isc/result.h>
#include <isc/sockaddr.h>
+#include <isc/string.h>
#include <isc/symtab.h>
#include <isc/util.h>
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: platform.h.in,v 1.44 2007/06/18 23:47:44 tbox Exp $ */
+/* $Id: platform.h.in,v 1.45 2007/09/13 04:45:18 each Exp $ */
#ifndef ISC_PLATFORM_H
#define ISC_PLATFORM_H 1
*/
@ISC_PLATFORM_USESTDASM@
+/*
+ * Define if the platform has <strings.h>.
+ */
+@ISC_PLATFORM_HAVESTRINGSH@
+
/***
*** Windows dll support.
***/
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: string.h,v 1.21 2007/09/02 23:06:59 marka Exp $ */
+/* $Id: string.h,v 1.22 2007/09/13 04:45:18 each Exp $ */
#ifndef ISC_STRING_H
#define ISC_STRING_H 1
/*! \file isc/string.h */
-#include <string.h>
-
#include <isc/formatcheck.h>
#include <isc/int.h>
#include <isc/lang.h>
#include <isc/platform.h>
#include <isc/types.h>
+#include <string.h>
+
+#ifdef ISC_PLATFORM_HAVE_STRINGS_H
+#include <strings.h>
+#endif
+
#define ISC_STRING_MAGIC 0x5e
ISC_LANG_BEGINDECLS