From b078567bf5de1dcf12d265d98acb4dc9eba8b325 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Wed, 23 Aug 2000 09:10:39 +1000 Subject: [PATCH] - (djm) Define USE_PIPES to avoid socketpair problems on HPUX 10 and SunOS 4 Avoids "scp never exits" problem. Reports from Lutz Jaenicke and Tamito KAJIYAMA --- ChangeLog | 6 ++++++ acconfig.h | 3 +++ configure.in | 2 ++ 3 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index ae8ae56e1..4463cf2bb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +20000823 + - (djm) Define USE_PIPES to avoid socketpair problems on HPUX 10 and SunOS 4 + Avoids "scp never exits" problem. Reports from Lutz Jaenicke + and Tamito KAJIYAMA + + 20000818 - (djm) OpenBSD CVS changes: - markus@cvs.openbsd.org 2000/07/22 03:14:37 diff --git a/acconfig.h b/acconfig.h index 86607710f..601dc16f7 100644 --- a/acconfig.h +++ b/acconfig.h @@ -6,6 +6,9 @@ @TOP@ +/* Define if your socketpair() has bugs */ +#undef USE_PIPES + /* Define if your system's struct sockaddr_un has a sun_len member */ #undef HAVE_SUN_LEN_IN_SOCKADDR_UN diff --git a/configure.in b/configure.in index e9467011b..f048b000d 100644 --- a/configure.in +++ b/configure.in @@ -49,6 +49,7 @@ case "$host" in fi CFLAGS="$CFLAGS -D_HPUX_SOURCE" AC_DEFINE(IPADDR_IN_DISPLAY) + AC_DEFINE(USE_PIPES) AC_MSG_CHECKING(for HPUX trusted system password database) if test -f /tcb/files/auth/system/default; then AC_MSG_RESULT(yes) @@ -142,6 +143,7 @@ case "$host" in conf_utmp_location=/etc/utmp conf_wtmp_location=/var/adm/wtmp conf_lastlog_location=/var/adm/lastlog + AC_DEFINE(USE_PIPES) MANTYPE='$(CATMAN)' mansubdir=cat ;;