Bug 67435

Summary: Wrong Filesize if FS > 2GB
Product: [Retired] Red Hat Linux Reporter: StK <stk>
Component: perlAssignee: Chip Turner <cturner>
Status: CLOSED WONTFIX QA Contact: David Lawrence <dkl>
Severity: high Docs Contact:
Priority: medium    
Version: 7.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-06-25 04:08:10 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 StK 2002-06-25 04:08:06 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)

Description of problem:
Perl reports a wrong Filesize when the File > 2 GB
Try 
perl -e '@s=stat("/path/to/large/file"); print "size = $s[7]\n"'

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.  locate a File > 2 GB
2.  Type in
3.  perl -e '@s=stat("/path/to/large/file"); print "size = $s[7]\n"'
	

Actual Results:  nothing is reported... so Programms using this report a 
filesize 0.
I actually deleted a file thinking it is empty

Expected Results:  Giving me the right Filesize

Additional info:

Comment 1 Chip Turner 2002-06-25 16:27:30 UTC
Perl in RHL 7.x doesn't support files larger than 2gb because of binary
compatibility issues.