From 137d7b6c0a85a7310157db30a462ad51abb0a28d Mon Sep 17 00:00:00 2001 From: djm Date: Tue, 22 Aug 2000 23:10:39 +0000 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 ae8ae56e..4463cf2b 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 86607710..601dc16f 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 e9467011..f048b000 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 ;; -- 2.45.2