tom@tnosoes.UUCP (Tom Vijlbrief) (03/16/88)
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
===============================================================================