Bug 63170

Summary: sum -s incorrect on large files
Product: [Retired] Red Hat Linux Reporter: Burt Holzman <burt>
Component: textutilsAssignee: wdovlrrw <brosenkr>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: high Docs Contact:
Priority: high    
Version: 7.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-04-10 20:14:15 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:

Description Burt Holzman 2002-04-10 20:06:52 UTC
In RH7.2, sum -s yields different behavior from SUN and Redhat 6 sum -s.

Test case (sum_rh61 has been copied from a RH 6.1 machine):

[burt@bar /w2]$ rpm -qf `which sum`
textutils-2.0.14-2

[burt@bar /w2]$ dd if=/dev/urandom of=t2 bs=1024k count=50
50+0 records in
50+0 records out
[burt@bar /w2]$ sum -s t2
31462 102400 t2
[burt@bar /w2]$ ~/sum_rh61 -s t2
31461 102400 t2

.. and the correct behavior on Solaris:

rmine401> uname -a
SunOS rmine401 5.8 Generic_108528-03 sun4u sparc SUNW,Ultra-4
rmine401> sum t2
31461 102400 t2

Comment 1 Bernhard Rosenkraenzer 2002-04-10 20:14:11 UTC
I'm getting consistent results between RH 6.2 and textutils-2.0.21-1. Assuming it's fixed.