Bug 174045 - RHEL4: rcp outputs negative file size when over 2GB
Summary: RHEL4: rcp outputs negative file size when over 2GB
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: rsh
Version: 4.0
Hardware: All
OS: Linux
Target Milestone: ---
: ---
Assignee: Karel Zak
QA Contact: Ben Levenson
Depends On:
Blocks: 187538
TreeView+ depends on / blocked
Reported: 2005-11-24 00:31 UTC by JW
Modified: 2007-11-30 22:07 UTC (History)
0 users

Clone Of:
Last Closed: 2006-05-10 22:08:42 UTC

Attachments (Terms of Use)
Changes faulty %lld into a %llu, and enables largefile support (777 bytes, patch)
2005-11-24 00:33 UTC, JW
no flags Details | Diff

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2006:0361 normal SHIPPED_LIVE rsh bug fix update 2006-05-10 04:00:00 UTC

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):

How reproducible:

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

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.


Note You need to log in before you can comment on or make changes to this bug.