summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-08-23 09:10:39 +1000
committerDamien Miller <djm@mindrot.org>2000-08-23 09:10:39 +1000
commitb078567bf5de1dcf12d265d98acb4dc9eba8b325 (patch)
tree3d2f1bef782e9a4b5b5713e9f81afcc6b25ede49
parent3241fa15eab83af79bfda709ffe6d235705d614d (diff)
- (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>
-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 ae8ae56e1..4463cf2bb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
120000823
2 - (djm) Define USE_PIPES to avoid socketpair problems on HPUX 10 and SunOS 4
3 Avoids "scp never exits" problem. Reports from Lutz Jaenicke
4 <Lutz.Jaenicke@aet.TU-Cottbus.DE> and Tamito KAJIYAMA
5 <kajiyama@grad.sccs.chukyo-u.ac.jp>
6
120000818 720000818
2 - (djm) OpenBSD CVS changes: 8 - (djm) OpenBSD CVS changes:
3 - markus@cvs.openbsd.org 2000/07/22 03:14:37 9 - 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 @@
6 6
7@TOP@ 7@TOP@
8 8
9/* Define if your socketpair() has bugs */
10#undef USE_PIPES
11
9/* Define if your system's struct sockaddr_un has a sun_len member */ 12/* Define if your system's struct sockaddr_un has a sun_len member */
10#undef HAVE_SUN_LEN_IN_SOCKADDR_UN 13#undef HAVE_SUN_LEN_IN_SOCKADDR_UN
11 14
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
49 fi 49 fi
50 CFLAGS="$CFLAGS -D_HPUX_SOURCE" 50 CFLAGS="$CFLAGS -D_HPUX_SOURCE"
51 AC_DEFINE(IPADDR_IN_DISPLAY) 51 AC_DEFINE(IPADDR_IN_DISPLAY)
52 AC_DEFINE(USE_PIPES)
52 AC_MSG_CHECKING(for HPUX trusted system password database) 53 AC_MSG_CHECKING(for HPUX trusted system password database)
53 if test -f /tcb/files/auth/system/default; then 54 if test -f /tcb/files/auth/system/default; then
54 AC_MSG_RESULT(yes) 55 AC_MSG_RESULT(yes)
@@ -142,6 +143,7 @@ case "$host" in
142 conf_utmp_location=/etc/utmp 143 conf_utmp_location=/etc/utmp
143 conf_wtmp_location=/var/adm/wtmp 144 conf_wtmp_location=/var/adm/wtmp
144 conf_lastlog_location=/var/adm/lastlog 145 conf_lastlog_location=/var/adm/lastlog
146 AC_DEFINE(USE_PIPES)
145 MANTYPE='$(CATMAN)' 147 MANTYPE='$(CATMAN)'
146 mansubdir=cat 148 mansubdir=cat
147 ;; 149 ;;