8.2.2 T5A

LaMont Jones lamont at security.hp.com
Thu Oct 7 13:54:57 UTC 1999


> this is an alpha-grade release, which means it hasn't been tested much.
> i'm releasing it to bind-workers ONLY -- please do not share copies, or
> report any problems with it to forums other than this one.

Meant to send this sooner...

The first patch makes it so that HP's ANSI-C compiler compiles things
(it doesn't like #if !xx, when xx is not defined..)

The second patch provides a small speed improvment, by using the 7 bit
ASCII string routines in bind, instead of the 16 bit international
versions in libc...

lamont

------------------------------------------------------------------------
diff -urP src.orig/port/hpux/include/port_before.h src/port/hpux/include/port_before.h
--- src.orig/port/hpux/include/port_before.h	Sun Feb 21 20:35:17 1999
+++ src/port/hpux/include/port_before.h	Thu Oct  7 07:44:32 1999
@@ -7,9 +7,6 @@
 #define DO_PTHREADS
 #endif
 
-#define BNWORD32
-#define BNSIZE32
-
 #define GROUP_R_RETURN int
 #define GROUP_R_SET_RETURN int
 #define GROUP_R_SET_RESULT GROUP_R_OK
diff -urP src.orig/port/hpux10/include/port_before.h src/port/hpux10/include/port_before.h
--- src.orig/port/hpux10/include/port_before.h	Sun Feb 21 20:35:18 1999
+++ src/port/hpux10/include/port_before.h	Thu Oct  7 07:44:32 1999
@@ -7,9 +7,6 @@
 #define DO_PTHREADS
 #endif
 
-#define BNWORD32
-#define BNSIZE32
-
 #define GROUP_R_RETURN int
 #define GROUP_R_SET_RETURN int
 #define GROUP_R_SET_RESULT GROUP_R_OK
------------------------------------------------------------------------
diff -urP src.orig/port/hpux/include/port_after.h src/port/hpux/include/port_after.h
--- src.orig/port/hpux/include/port_after.h	Sat Aug  7 21:14:43 1999
+++ src/port/hpux/include/port_after.h	Thu Oct  7 07:44:32 1999
@@ -15,6 +15,10 @@
 #define __BIND_RES_TEXT
 #define GETNETBYADDR_ADDR_T int
 
+/* These versions are faster for BIND data than the International versions */
+#define NEED_STRCASECMP
+#define NEED_STRDUP
+
 #define PORT_NONBLOCK	O_NONBLOCK
 #define PORT_WOULDBLK	EWOULDBLOCK
 #define WAIT_T		int
diff -urP src.orig/port/hpux10/include/port_after.h src/port/hpux10/include/port_after.h
--- src.orig/port/hpux10/include/port_after.h	Sat Aug  7 21:14:43 1999
+++ src/port/hpux10/include/port_after.h	Thu Oct  7 07:44:32 1999
@@ -15,6 +15,10 @@
 #define __BIND_RES_TEXT
 #define GETNETBYADDR_ADDR_T int
 
+/* These versions are faster for BIND data than the International versions */
+#define NEED_STRCASECMP
+#define NEED_STRDUP
+
 #define PORT_NONBLOCK	O_NONBLOCK
 #define PORT_WOULDBLK	EWOULDBLOCK
 #define WAIT_T		int
------------------------------------------------------------------------


More information about the bind-workers mailing list