Bug 63170 - sum -s incorrect on large files
Summary: sum -s incorrect on large files
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: textutils
Version: 7.2
Hardware: i386
OS: Linux
high
high
Target Milestone: ---
Assignee: wdovlrrw
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-04-10 20:06 UTC by Burt Holzman
Modified: 2005-10-31 22:00 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-04-10 20:14:15 UTC
Embargoed:


Attachments (Terms of Use)

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. 



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