head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.50 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.48 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.46 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.44 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.42 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.40 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.38 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.36 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.34 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.32 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.30 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.28 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.26 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.24 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.22 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.20 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.18 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.16 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.14 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.12 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.10 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.8 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.6 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.4 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.2 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.3.0.12 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.10 pkgsrc-2003Q4-base:1.3 netbsd-1-6-1:1.3.0.6 netbsd-1-6-1-base:1.3 netbsd-1-6:1.3.0.8 netbsd-1-6-RELEASE-base:1.3 pkgviews:1.3.0.4 pkgviews-base:1.3 buildlink2:1.3.0.2 buildlink2-base:1.3 netbsd-1-5-PATCH003:1.3 netbsd-1-5-PATCH001:1.2 netbsd-1-5-RELEASE:1.2 netbsd-1-4-PATCH003:1.2 netbsd-1-4-PATCH002:1.2 comdex-fall-1999:1.2 netbsd-1-4-PATCH001:1.2 netbsd-1-4-RELEASE:1.1 netbsd-1-3-PATCH003:1.1; locks; strict; comment @# @; 1.4 date 2004.06.01.21.50.38; author kristerw; state dead; branches; next 1.3; 1.3 date 2001.11.23.07.42.38; author tron; state Exp; branches; next 1.2; 1.2 date 99.05.15.13.46.59; author bouyer; state Exp; branches; next 1.1; 1.1 date 98.09.10.16.36.12; author kim; state Exp; branches; next ; desc @@ 1.4 log @Remove obsolete packages, per discussion on tech-pkg. @ text @$NetBSD: patch-av,v 1.3 2001/11/23 07:42:38 tron Exp $ --- serverloop.c.orig Wed May 12 13:19:28 1999 +++ serverloop.c Fri Nov 23 08:26:58 2001 @@@@ -377,10 +377,12 @@@@ if (channel_max_fd() > max_fd) max_fd = channel_max_fd(); +#if 0 /* Ohh, this sucks so badly I almost weep... */ /* If child has terminated, read as much as is available and then exit. */ if (child_terminated) if (max_time_milliseconds == 0) max_time_milliseconds = 100; +#endif if (idle_timeout != 0 && (max_time_milliseconds == 0 || @@@@ -421,6 +423,7 @@@@ FD_ZERO(writeset); } +#if 0 /* Ohh, this sucks so badly I almost weep... */ /* If the child has terminated and there was no data, shutdown all descriptors to it. */ if (ret <= 0 && child_terminated && !child_just_terminated) @@@@ -442,11 +445,12 @@@@ fdin = -1; } else +#endif { if (ret == 0) /* Nothing read, timeout expired */ { /* Check if idle_timeout expired ? */ - if (idle_timeout != 0 && !child_terminated && + if (idle_timeout != 0 && !child_terminated && idle_time_last && time(NULL) - idle_time_last > idle_timeout) { /* Yes, kill the child */ @ 1.3 log @Stop the SSH daemom from truncating output on slow networks and/or machines. Patch supplied by Michael Eriksson in PR pkg/9119. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update to 1.2.27. Mostly sprintf->snprintf fixes (more than we had in our private patches). ssh users should probably upgrade ... @ text @d1 1 a1 1 $NetBSD: patch-au,v 1.1 1998/09/10 16:36:12 kim Exp $ d4 28 a31 2 +++ serverloop.c Sat May 15 04:33:35 1999 @@@@ -446,7 +446,7 @@@@ @ 1.1 log @Don't write truncated hostnames in utmp, use IP addresses instead. Don't immediately timeout sessions as idle just because an actual idle check had not been done yet (so last_idle_time was zero, and the difference to current time is way over your idle time limit). Also added the first US mirror of ssh into MASTER_SITES. @ text @d1 1 a1 1 $NetBSD$ d3 11 a13 11 --- serverloop.c.orig Wed Jul 8 12:40:38 1998 +++ serverloop.c Thu Sep 10 12:13:33 1998 @@@@ -441,7 +441,7 @@@@ if (ret == 0) /* Nothing read, timeout expired */ { /* Check if idle_timeout expired ? */ - if (idle_timeout != 0 && !child_terminated && + if (idle_timeout != 0 && !child_terminated && idle_time_last && time(NULL) - idle_time_last > idle_timeout) { /* Yes, kill the child */ @