Usenet comp.os.linux.announce (1993-2013)
 help / color / mirror / Atom feed
From: uknf@rzstud1.rz.uni-karlsruhe.de (Olaf Titz)
Subject: Bugfix for term 1.08
Date: 5 Nov 1993 09:22:43 +0200	[thread overview]
Message-ID: <2bcv03$9tv@klaava.Helsinki.FI> (raw)

> 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


                 reply	other threads:[~1993-11-05  7:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox