Usenet comp.os.linux.announce (1993-2013)
 help / color / mirror / Atom feed
* Bugfix for term 1.08
@ 1993-11-05  7:22 Olaf Titz
  0 siblings, 0 replies; only message in thread
From: Olaf Titz @ 1993-11-05  7:22 UTC (permalink / 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1993-11-05  7:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-11-05  7:22 Bugfix for term 1.08 Olaf Titz

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