Red Hat Bugzilla – Bug 174045
RHEL4: rcp outputs negative file size when over 2GB
Last modified: 2007-11-30 17:07:21 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; MSIE 6.0; Windows; U; AIIEEEE!; Win98; Windows 98; en-US; Gecko masquerading as IE; should it matter?; rv:1.8b) Gecko/20050217
Description of problem:
Rcp generates a negative number as the file size when size is over 2GB.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.rcp file_over_2GB_in_size remotehost
Actual Results: depends on client, but generally causes big problem because client gets negative file size
Expected Results: rcp should proceed normally
POlease don't tell me to use scp - this is a bug about rcp.
Created attachment 121428 [details]
Changes faulty %lld into a %llu, and enables largefile support
Thanks. Fixed in devel (FC5) branche. I'm going to fix it in FC4 next week.
FC4 version has been fixed. Note -- this report is also valid for RHEL3|4.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.