Bug 67435 - Wrong Filesize if FS > 2GB
Summary: Wrong Filesize if FS > 2GB
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: perl
Version: 7.2
Hardware: i686
OS: Linux
medium
high
Target Milestone: ---
Assignee: Chip Turner
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-06-25 04:08 UTC by StK
Modified: 2007-04-18 16:43 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-06-25 04:08:10 UTC
Embargoed:


Attachments (Terms of Use)

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.


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