#720 File sizes are modulo 4G


If file "big_file" is 4 gigabytes, the following 3 say statements all report "0" as it's size (even with "numeric digits 20"):

    say stream(big_file, 'command', 'query size')

    say .Stream~new(big_file)~query('size')

    _ = sysfiletree(big_file, 'tt', 'f');
    say tt.1

If "big_file" is 4G+100 bytes for example, they report 100.

This is related to 1881980 "SysFileTree fails on files > 4Gb", which is open but closed for comments.


  • Rick McGuire

    Rick McGuire - 2009-06-08

    Two questions.

    1) Are you actually reporting this against 3.2.0 rather than the 4.0 beta?
    2) What operating system are you using?

  • Anonymous - 2009-06-08

    1) Yes, 3.2.0.
    2) Up-to-date Windows Vista.

  • Rick McGuire

    Rick McGuire - 2009-06-09

    This was one of the features of the 4.0 release (currently in beta). The stream file sizes are now 64-bit quantities so sizes larger than 4Gb can be handled. SysFileTree is a different situation, since there are parsing compatibility problems associated with expanding the size of that field.

  • Mark Miesfeld

    Mark Miesfeld - 2010-02-22

    The fix for this item was in the 4.0.0 release.



Cancel  Add attachments

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks