filesize error

new topic     » topic index » view thread      » older message » newer message


I'm lazy, here's the irc log of me talking about it...

[20:24] * any33068445 looks alarmed at Matt 
[20:25] <any33068445> the writefile opened as "ab" is not going above 2^32 exactly as reported by winxp (explorer and dosbox), but i used dos type command to append a 2.6G file to another 2.5G file, and it is reported to be 5.2G, as it should 
[20:26] <any33068445> it's the Eu file that's not being reported as the size it should be 
[20:58] <any33068445> ok, i started a eu app to make a 5.2G file, one line ata  time 
.. 9 pm Friday 11/30/2012 .. 
.. 10 pm Friday 11/30/2012 .. 
[22:01] <any33068445> batman, we have a problem 
[22:02] <any33068445> this filesize has also stopped increasing at : 4.00 GB (4,294,967,296 bytes) 
[22:02] <any33068445> 2^32 = 4,294,967,296 
The app reported this on terminating:
[22:03] <any33068445> running 
[22:03] <any33068445> Before closing: 4294967296 
[22:03] <any33068445> After closing: 4294967296 
[22:03] <any33068445> Press Any Key to quit 

Explorer reports filesize as 2^32 bytes
Dos dir reports it as 2^32 bytes.

Code used is at : http://openeuphoria.org/pastey/173.wc

I also used dos command "type" to append to a file, using the same 2.6G readfile and same writefile name, it correctly built a 5.2G (reported) file.

ADDED: I was using:

Euphoria Interpreter v4.0.4 
   Windows, Using Managed Memory 
   Revision Date: 2012-04-02, Id: 11a49820121f 
 

ADDED part 2: C:\euphoria40b4-3412\bin\eui.exe also truncated at 2^32 bytes exactly.

ADDED part 3: eui.exe and euiw.exe on the Nov28 build of v4.1.0 work properly.

ADDED part 4 : version 4.0.4 euiw.exe also trucates at 2^32.

useless

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu