in reply to Re: file truncate not working on 128GB file in Windows
in thread file truncate not working on 128GB file in Windows
and I can confirm that it can open a 7GB file and seek way past the 4GB mark and correctly read from the file using the sysopen, sysseek, and sysread functions.
The 4GB limitation applies to DOS, because the DOS system calls limit the file pointer to 4GB. So, you can't seek past the 4GB mark with programs written for DOS mode. EDIT: Actually, I tested Perl 5.004, and it won't even open the file that is larger than 4GB. But that's ancient technology right there.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: file truncate not working on 128GB file in Windows
by NERDVANA (Priest) on Feb 12, 2024 at 05:39 UTC | |
by harangzsolt33 (Deacon) on Feb 13, 2024 at 00:21 UTC | |
by Corion (Patriarch) on Feb 13, 2024 at 08:22 UTC | |
by NERDVANA (Priest) on Feb 14, 2024 at 04:04 UTC |