rpms/rsh/devel netkit-rsh-0.17-rcp-largefile.patch, NONE, 1.1 rsh.spec, 1.21, 1.22
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Thu Nov 24 09:52:36 UTC 2005
Author: kzak
Update of /cvs/dist/rpms/rsh/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv3019
Modified Files:
rsh.spec
Added Files:
netkit-rsh-0.17-rcp-largefile.patch
Log Message:
fix rcp >2GB files
netkit-rsh-0.17-rcp-largefile.patch:
rcp.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE netkit-rsh-0.17-rcp-largefile.patch ---
--- netkit-rsh-0.17/rcp/rcp.c.largefile 2005-11-24 10:38:12.000000000 +0100
+++ netkit-rsh-0.17/rcp/rcp.c 2005-11-24 10:40:28.000000000 +0100
@@ -482,7 +482,7 @@
}
}
(void)snprintf(buf, sizeof(buf),
- "C%04o %lld %s\n", stb.st_mode&07777, (long long)(stb.st_size), last);
+ "C%04o %llu %s\n", stb.st_mode&07777, (unsigned long long)(stb.st_size), last);
(void)write(rem, buf, (int)strlen(buf));
if (response() < 0) {
(void)close(f);
Index: rsh.spec
===================================================================
RCS file: /cvs/dist/rpms/rsh/devel/rsh.spec,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- rsh.spec 14 Oct 2005 11:11:39 -0000 1.21
+++ rsh.spec 24 Nov 2005 09:52:34 -0000 1.22
@@ -1,7 +1,7 @@
Summary: Clients for remote access commands (rsh, rlogin, rcp).
Name: rsh
Version: 0.17
-Release: 31
+Release: 32
License: BSD
Group: Applications/Internet
@@ -44,6 +44,7 @@
Patch24: netkit-rsh-0.17-ignchld.patch
Patch25: netkit-rsh-0.17-checkdir.patch
Patch26: netkit-rsh-0.17-pam-conv.patch
+Patch27: netkit-rsh-0.17-rcp-largefile.patch
%description
The rsh package contains a set of programs which allow users to run
@@ -102,6 +103,7 @@
%patch24 -p1 -b .ignchld
%patch25 -p1 -b .checkdir
%patch26 -p1 -b .pam-conv
+%patch27 -p1 -b .largefile
# No, I don't know what this is doing in the tarball.
@@ -171,6 +173,9 @@
%{_mandir}/man8/*.8*
%changelog
+* Thu Nov 24 2005 Karel Zak <kzak at redhat.com> 0.17-32
+- fix #174045 - rcp outputs negative file size when over 2GB
+
* Thu Oct 13 2005 Karel Zak <kzak at redhat.com> 0.17-31
- rewrite rexecd PAM_conversation()
More information about the fedora-cvs-commits
mailing list