summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--acconfig.h3
-rw-r--r--configure.in2
3 files changed, 11 insertions, 0 deletions
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
+ <Lutz.Jaenicke@aet.TU-Cottbus.DE> and Tamito KAJIYAMA
+ <kajiyama@grad.sccs.chukyo-u.ac.jp>
+
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
;;