#959 sysfileexists fails on large files


Rexx 4.1.0 Beta
Ubuntu 10.04 32-bit

The sysfileexists function fails on very large files, reporting that the file does not exist. In this case, file /huge/superfile is in excess of 50GB. The stream "QUERY EXISTS" command function finds the file without problems, and the remainder of the ooRexx program appears to operate properly.


  • David Ashley

    David Ashley - 2010-11-12

    I have verified that this is a problem on all *nix versions. We are calling stat instead of stat64 throughout the rexxutil source code. I will start to work on fixing this.

  • Mark Miesfeld

    Mark Miesfeld - 2010-11-12


    This is not a new bug introduced by 4.1.0, it must have always been there.

    Rick as stated previously that the format of the output of SysFileTree can not change.

    I haven't looked at the code, but I think you will need to be careful in changing stat to stat64 so that you don't also change the output for SysFileTree.

  • Bruce

    Bruce - 2010-11-12

    Mac OS X has deprecated STAT64, STAT accepts 64bit inodes

  • Rick McGuire

    Rick McGuire - 2010-11-12

    Mark, this is a problem with SysFileExists, not SysFileTree.

  • David Ashley

    David Ashley - 2010-11-12

    Ok, this is all fixed. I had a false start and had to fix SysFile Tree after modifying it by mistake. But that error hase been resolved and now both the trunk and the 4.1.0 branch are fixed.

  • Mark Miesfeld

    Mark Miesfeld - 2010-12-05

    The fix for this item was in the 4.1.0 release.



Cancel  Add attachments

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

Sign up for the SourceForge newsletter:

No, thanks