• Robert Sprowson's avatar
    Fix OS_Args 1 and OS_GBPB 3/4 for files > 2G. · cce1584b
    Robert Sprowson authored
    In OS_Args 1 a compare was followed by a conditional store, but with files > 2G some circumstances end up with VS so the store wasn't taken.
    In OS_GBPB 3/4 the assessment of how much could be done was based on adding the current fileptr to the request but not respecting the carry out. Reordered the equation to get this calculation right.
    Changed a signed compare of a byte variable to use unsigned so auditing of signed condition codes is clearer.
    Corrected spelling of 'openning'.
    Fix copy_srchandle and copy_dsthandle to not assume handles fit in 1 byte.
    Tested on a variety of contrived file sizes at the boundaries of 2G and 4G.
    
    Version 2.69. Tagged as 'FileSwitch-2_69'
    cce1584b
MsgsStuff 11.1 KB