-
Notifications
You must be signed in to change notification settings - Fork 561
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
open and -e fail w/largefiles (>2G) on solaris 2.6 x86 #176
Comments
From patrick@dante.alexa.comPerl cannot open files greater than 2G in size on Solaris 2.6 x86 (in other words, Perl is not largefile compliant). Specifically: 1) open FH, "largefile" fails to open a file 2) -e/-f/-s fails to detect the file (reports FALSE when should report TRUE) in the examples below, the files "large" and "small" are:
open summary and code sample:
Value too large for defined data type at - line 1. -e/-f/-s summary and code examples:The file tests (-f, -e, -s, etc) are not large file compliant and return FALSE when given 2G+ files. These are the operators in Perl to test for existance (-e), non-zero size (-s), etc. Here's an example: Let's test for the existance of a 2G+ file using the "-e" command: First, with large (a >2G file)
And now, on small (a 16M file):
Perl Info
|
From @jhiPatrick Tufts writes:
Perl 5.6 should be aware of large files but only iff separately Configured -- |
From The RT System itselfsee |
Migrated from rt.perl.org#981 (status was 'resolved')
Searchable as RT981$
The text was updated successfully, but these errors were encountered: