diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-10-09 07:30:46 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-10-09 07:30:46 +0000 |
commit | 25ba3e5428c01637e756441e8228254dd6dd0d28 (patch) | |
tree | a388aa078c70fef28f0f9ca946eb3e68e1c657a7 /devel/ORBit/files/patch-src::IIOP::connection.c | |
parent | Update version number of gtkhtml shared library. (diff) |
Update to 0.5.10.
Notes
Notes:
svn path=/head/; revision=48585
Diffstat (limited to '')
-rw-r--r-- | devel/ORBit/files/patch-src::IIOP::connection.c | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/devel/ORBit/files/patch-src::IIOP::connection.c b/devel/ORBit/files/patch-src::IIOP::connection.c new file mode 100644 index 000000000000..c817c169b116 --- /dev/null +++ b/devel/ORBit/files/patch-src::IIOP::connection.c @@ -0,0 +1,65 @@ +$NetBSD: patch-ag,v 1.6 2001/05/21 19:59:04 rh Exp $ + +--- src/IIOP/connection.c.orig Sun May 13 09:07:46 2001 ++++ src/IIOP/connection.c +@@ -1,4 +1,7 @@ + #include "config.h" ++#include <sys/types.h> ++#include <sys/param.h> ++#include <stdio.h> + #if defined (__hpux) && ! defined (_XOPEN_SOURCE_EXTENDED) + # define _XOPEN_SOURCE_EXTENDED 1 + # define WE_DEFINED_XOPEN_SOURCE_EXTENDED 1 +@@ -13,7 +16,6 @@ + #include <stdlib.h> + #include <unistd.h> + #include <errno.h> +-#include <sys/types.h> + #include <fcntl.h> + #include <sys/socket.h> + #include <sys/un.h> +@@ -32,7 +34,7 @@ + #include <signal.h> + #include <syslog.h> + +-#if defined(HAVE_TCPD_H) && defined(HAVE_HOSTS_ACCESS) ++#if defined(HAVE_TCPD_H) + #include <tcpd.h> + #endif + +@@ -80,7 +82,7 @@ + GIOPConnectionList giop_connection_list; + static GSList *iiop_unix_socket_list = NULL; + +-#if defined(HAVE_HOSTS_ACCESS) && defined (HAVE_TCPD_H) ++#if defined (HAVE_TCPD_H) + static const char *argv0_val = NULL; + #endif + +@@ -104,7 +106,7 @@ + struct sigaction mypipe; + g_assert(sizeof(GIOPMessageHeader) == 12); + +-#if defined(HAVE_HOSTS_ACCESS) && defined (HAVE_TCPD_H) ++#if defined (HAVE_TCPD_H) + argv0_val = g_strdup(g_basename(argv0)); /* For TCP wrappers */ + #endif + +@@ -1007,7 +1009,7 @@ + */ + int allow_severity = LOG_INFO, deny_severity = LOG_NOTICE; + +-#if defined(HAVE_HOSTS_ACCESS) && defined(HAVE_TCPD_H) ++#if defined(HAVE_TCPD_H) + DEFINE_LOCK(tcp_wrappers_usage); + + #endif +@@ -1033,7 +1035,7 @@ + + newfd = accept(GIOP_CONNECTION_GET_FD(connection), &sock, &n); + +-#if defined(HAVE_HOSTS_ACCESS) && defined(HAVE_TCPD_H) ++#if defined(HAVE_TCPD_H) + /* tcp wrappers access checking */ + switch(IIOP_CONNECTION(connection)->icnxtype) { + case IIOP_IPV4: |