Article View: comp.sources.bugs
Article #733Bug and fix for Unix X/Y/ZMODEM program.
From: kasukawa
Date: Sun, 19 Apr 1987 17:05
Date: Sun, 19 Apr 1987 17:05
31 lines
1659 bytes
1659 bytes
We have appriciated Chuck Forsberg's ZMODEM program, but found a bug
in XMODEM mode. Rz can't receive binary file in XMODEM mode,even add
-b option. following is the diff for fix.
------------------------------------------------------------------------------
*** rz.c.o Mon Apr 20 02:35:11 1987
--- rz.c Mon Apr 20 02:37:16 1987
***************
*** 321,327 ****
}
} else {
Bytesleft = DEFBYTL; Filemode = 0; Modtime = 0L;
!
strcpy(Pathname, *argp);
checkpath(Pathname);
fprintf(stderr, "\nrz: ready to receive %s\r\n", Pathname);
--- 321,327 ----
}
} else {
Bytesleft = DEFBYTL; Filemode = 0; Modtime = 0L;
! Thisbinary = Rxbinary || !Rxascii;
strcpy(Pathname, *argp);
checkpath(Pathname);
fprintf(stderr, "\nrz: ready to receive %s\r\n", Pathname);
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
JUNET : kasukawa@titisa.is.titech.junet
UUCP : {seismo,mcvax}!kddlab!titcca!titisa!kasukawa
CSNET : kasukawa%titisa.is.titech.junet@utokyo-relay
Technical Details
Message-ID:
<430@titisa.is.titech.JUNET>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!cbatt!ihnp4!ptsfa!styx!ames!sri-spam!rutgers!husc6!seismo!mcvax!kddlab!koudai!titcca!titisa!kasukawaShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!cbatt!ihnp4!ptsfa!styx!ames!sri-spam!rutgers!husc6!seismo!mcvax!kddlab!koudai!titcca!titisa!kasukawa From: kasukawa@titisa.UUCP Newsgroups: comp.sources.bugs Subject: Bug and fix for Unix X/Y/ZMODEM program. Message-ID: <430@titisa.is.titech.JUNET> Date: Sun, 19-Apr-87 13:05:50 EDT Article-I.D.: titisa.430 Posted: Sun Apr 19 13:05:50 1987 Date-Received: Sat, 2-May-87 01:43:24 EDT Organization: Dept. of Info. Sci., Tokyo Inst. of Tech., JAPAN Lines: 31