Path: utzoo!mnetor!uunet!mcvax!tnosoes!tom From: tom@tnosoes.UUCP (Tom Vijlbrief) Newsgroups: comp.protocols.tcp-ip.ibmpc Subject: Re: KA9Q diffs for compilation with MSC 4.00, RSH BUG !!! Message-ID: <339@tnosoes.UUCP> Date: 16 Mar 88 11:43:32 GMT References: <338@tnosoes.UUCP> Reply-To: tom@rainbow.UUCP (Tom Vijlbrief) Organization: TNO Institute for Perception, Soesterberg, The Netherlands Lines: 40 Keywords: tcp/ip, Microsoft C, ka9q Oops, I discovered a bug in my rsh client. (Just after I had posted the diffs :-( ) uprsh wil not work for input files smaller then 256 bytes. Repeat by: net uprsh 10_byte_long_file unixhost mail root The mail will never arrive.. Fix by: Delete lines 164-166 in rsh.c: *** rsh.org Wed Mar 16 12:40:34 1988 --- rsh.c Wed Mar 16 12:41:10 1988 *************** *** 161,169 **** send_tcp(tcb, qdata(buf, p+1 - buf)); - if (up_flag) /* kick transmitter */ - up_tx(tcb,256); - go(); return 0; } --- 161,166 ---- =============================================================================== Tom Vijlbrief TNO Institute for Perception P.O. Box 23 Phone: +31 34 63 14 44 3769 DE Soesterberg E-mail: tnosoes!tom@mcvax.cwi.nl The Netherlands or: uunet!mcvax!tnosoes!tom ===============================================================================