From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,d5b50e57339c922a,start X-Google-Attributes: gid10d4db,public X-Google-Thread: 1117c9,d5b50e57339c922a,start X-Google-Attributes: gid1117c9,public X-Google-ArrivalTime: 1993-11-05 00:01:38 PST Xref: gmd.de alt.sources:1895 comp.os.linux.announce:1389 Path: gmd.de!xlink.net!howland.reston.ans.net!pipex!sunic!news.funet.fi!klaava!klaava!not-for-mail From: uknf@rzstud1.rz.uni-karlsruhe.de (Olaf Titz) Newsgroups: alt.sources,comp.os.linux.announce Subject: Bugfix for term 1.08 Followup-To: alt.sources.d Date: 5 Nov 1993 09:22:43 +0200 Organization: Fachschaft math/inf, Uni Karlsruhe, FRG Sender: wirzeniu@klaava.Helsinki.FI Message-ID: <2bcv03$9tv@klaava.Helsinki.FI> NNTP-Posting-Host: klaava.helsinki.fi Keywords: term, termftp, cbind, patch, bugfix > From: bill@goshawk.lanl.gov > While using termftp hacked with Olaf Titz CBIND patches, I noticed > that the number of remote clients was going up by 1 after every port > command (I got up to about 30 remote clients waiting at one point). Oops. This error was reported to me soon after I posted the original patches and fixed the same day. Unfortunately, Michael seems to have missed the second patch for inclusion in term 1.08. So the following simple patch is needed: --- link.c.108 Thu Nov 4 15:43:01 1993 +++ link.c Thu Nov 4 15:43:00 1993 @@ -662,5 +662,5 @@ add_to_buffer(&cl->in_buff, hostname[k]); add_to_buffer(&cl->in_buff, 0); - if (cl->in_buff.size) + if (cl->in_buff.size == k+1) ++clients_waiting; --- main.c.108 Thu Nov 4 15:42:53 1993 +++ main.c Thu Nov 4 15:42:52 1993 @@ -739,5 +739,5 @@ add_to_buffer(&clients[i].in_buff, num[k]); add_to_buffer(&clients[i].in_buff, 0); - if (clients[i].in_buff.size) + if (clients[i].in_buff.size == k+1) ++clients_waiting; } Olaf -- olaf titz o olaf@bigred.ka.sub.org praetorius@irc comp.sc.student _>\ _ s_titz@ira.uka.de LINUX - the choice karlsruhe germany (_)<(_) uknf@dkauni2.bitnet of a GNU generation what good is a photograph of you? everytime i look at it it makes me feel blue -- Mail submissions for comp.os.linux.announce to: linux-announce@tc.cornell.edu