auto-import changelog data from lrzsz-0.12.20-16.src.rpm

Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt
Fri Oct 11 2002 Than Ngo <than@redhat.com> 0.12.20-15
- Fixed a bug with 16 bit ZMODEM transfer, jordanc@censoft.com (bug #75473)
This commit is contained in:
cvsdist 2004-09-09 08:05:04 +00:00
parent a05915d465
commit f637be2e44
2 changed files with 32 additions and 3 deletions

20
lrzsz-0.12.20.patch Normal file
View File

@ -0,0 +1,20 @@
diff -urN lrzsz-0.12.20/src/zm.c lrzsz-0.12.20.new/src/zm.c
--- lrzsz-0.12.20/src/zm.c Tue Dec 29 09:48:38 1998
+++ lrzsz-0.12.20.new/src/zm.c Tue Oct 8 12:46:58 2002
@@ -431,10 +431,12 @@
VPRINTF(3,("zsdata: %lu %s", (unsigned long) length,
Zendnames[(frameend-ZCRCE)&3]));
crc = 0;
- do {
- zsendline(*buf); crc = updcrc((0377 & *buf), crc);
- buf++;
- } while (--length>0);
+
+ for( ; length; length--) {
+ zsendline(*buf); crc = updcrc((0377 & *buf), crc);
+ buf++;
+ }
+
xsendline(ZDLE); xsendline(frameend);
crc = updcrc(frameend, crc);

View File

@ -1,11 +1,12 @@
Summary: The lrz and lsz modem communications programs.
Name: lrzsz
Version: 0.12.20
Release: 14
Release: 16
License: GPL
Group: Applications/Communications
Source: http://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz
Patch1: lrzsz-0.12.20-glibc21.patch
Patch2: lrzsz-0.12.20.patch
Url: http://www.ohse.de/uwe/software/lrzsz.html
BuildRoot: %{_tmppath}/%{name}-root
@ -18,11 +19,13 @@ copylefted Zmodem solution for Linux systems.
%prep
%setup -q
%patch1 -p1 -b .glibc21
%patch2 -p1 -b .crc
%build
%configure --disable-pubdir \
--enable-syslog \
--program-transform-name=s/l//
make
%install
@ -40,6 +43,12 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/*/*
%changelog
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt
* Fri Oct 11 2002 Than Ngo <than@redhat.com> 0.12.20-15
- Fixed a bug with 16 bit ZMODEM transfer, jordanc@censoft.com (bug #75473)
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
- automated rebuild