- (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>
This commit is contained in:
Damien Miller 2000-08-23 09:10:39 +10:00
parent 3241fa15ea
commit b078567bf5
3 changed files with 11 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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
;;