1732. [placeholder] rt12467
-1731. [placeholder] rt12581
+1731. [port] darwin: relax version test in ifconfig.sh.
+ [RT #12581]
-1730. [placeholder] rt12581
+1730. [port] Determine the length type used by the socket API.
+ [RT #12581]
1729. [placeholder] rt12634
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: acconfig.h,v 1.45 2004/05/21 08:09:27 marka Exp $ */
+/* $Id: acconfig.h,v 1.46 2004/10/05 03:17:16 marka Exp $ */
/***
*** This file is not to be included by any public header files, because
/* define if you have strerror in the C library. */
#undef HAVE_STRERROR
-/* Define if you are running under Compaq TruCluster.. */
+/* Define if you are running under Compaq TruCluster. */
#undef HAVE_TRUCLUSTER
/* Define if OpenSSL includes DSA support */
#undef HAVE_OPENSSL_DSA
+
+/* Define to the length type used by the socket API (socklen_t, size_t, int). */
+#undef ISC_SOCKADDR_LEN_T
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
-# $Id: ifconfig.sh,v 1.48 2004/09/24 05:35:49 marka Exp $
+# $Id: ifconfig.sh,v 1.49 2004/10/05 03:17:17 marka Exp $
#
# Set up interface aliases for bind9 system tests.
*-sco3.2v*)
ifconfig lo0 alias 10.53.0.$ns
;;
- *-darwin5*)
+ *-darwin*)
ifconfig lo0 alias 10.53.0.$ns
;;
*)
*-sco3.2v*)
ifconfig lo0 -alias 10.53.0.$ns
;;
- *darwin5*)
+ *darwin*)
ifconfig lo0 -alias 10.53.0.$ns
;;
*)
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: config.h.in,v 1.62 2004/09/01 07:25:51 marka Exp $ */
+/* $Id: config.h.in,v 1.63 2004/10/05 03:17:16 marka Exp $ */
/***
*** This file is not to be included by any public header files, because
/* define if you have strerror in the C library. */
#undef HAVE_STRERROR
-/* Define if you are running under Compaq TruCluster.. */
+/* Define if you are running under Compaq TruCluster. */
#undef HAVE_TRUCLUSTER
/* Define if OpenSSL includes DSA support */
#undef HAVE_OPENSSL_DSA
+/* Define to the length type used by the socket API (socklen_t, size_t, int). */
+#undef ISC_SOCKADDR_LEN_T
+
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
esyscmd([sed "s/^/# /" COPYRIGHT])dnl
AC_DIVERT_POP()dnl
-AC_REVISION($Revision: 1.362 $)
+AC_REVISION($Revision: 1.363 $)
AC_INIT(lib/dns/name.c)
AC_PREREQ(2.13)
AC_TYPE_SIZE_T
AC_CHECK_TYPE(ssize_t, int)
+AC_CHECK_TYPE(socklen_t,
+[AC_DEFINE(ISC_SOCKADDR_LEN_T, socklen_t)],
+[
+AC_TRY_COMPILE(
+[
+#include <sys/types.h>
+#include <sys/socket.h>
+int getsockname(int, struct sockaddr *, size_t *);
+],[],
+[AC_DEFINE(ISC_SOCKADDR_LEN_T, size_t)],
+[AC_DEFINE(ISC_SOCKADDR_LEN_T, int)])
+],
+[
+#include <sys/types.h>
+#include <sys/socket.h>
+])
+AC_SUBST(ISC_SOCKADDR_LEN_T)
AC_HEADER_TIME
AC_MSG_CHECKING(for long long)
AC_TRY_COMPILE([],[long long i = 0; return (0);],
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: socket.c,v 1.241 2004/07/01 04:53:14 marka Exp $ */
+/* $Id: socket.c,v 1.242 2004/10/05 03:17:18 marka Exp $ */
#include <config.h>
* some as socklen_t. This is here so it can be easily changed if needed.
*/
#ifndef ISC_SOCKADDR_LEN_T
-#ifdef _BSD_SOCKLEN_T_
-#define ISC_SOCKADDR_LEN_T _BSD_SOCKLEN_T_
-#else
#define ISC_SOCKADDR_LEN_T unsigned int
#endif
-#endif
/*
* Define what the possible "soft" errors can be. These are non-fatal returns