Bug 174045

Summary: RHEL4: rcp outputs negative file size when over 2GB
Product: Red Hat Enterprise Linux 4 Reporter: JW <ohtmvyyn>
Component: rshAssignee: Karel Zak <kzak>
Status: CLOSED ERRATA QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2006-0361 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-05-10 22:08:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 187538    
Attachments:
Description Flags
Changes faulty %lld into a %llu, and enables largefile support none

Description JW 2005-11-24 00:31:41 UTC
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):
rsh-0.17-29

How reproducible:
Always

Steps to Reproduce:
1.rcp file_over_2GB_in_size remotehost
2.
3.
  

Actual Results:  depends on client, but generally causes big problem because client gets negative file size

Expected Results:  rcp should proceed normally


Additional info:

POlease don't tell me to use scp - this is a bug about rcp.

Comment 1 JW 2005-11-24 00:33:01 UTC
Created attachment 121428 [details]
Changes faulty %lld into a %llu, and enables largefile support

Comment 2 Karel Zak 2005-11-24 09:54:59 UTC
Thanks. Fixed in devel (FC5) branche. I'm going to fix it in FC4 next week.

Comment 3 Karel Zak 2005-11-28 15:04:34 UTC
FC4 version has been fixed. Note -- this report is also valid for RHEL3|4. 

Comment 10 Red Hat Bugzilla 2006-05-10 22:08:42 UTC
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.

http://rhn.redhat.com/errata/RHBA-2006-0361.html