• Marek Vavruša's avatar
    journal: file end condition updated · b7f1a1e2
    Marek Vavruša authored
    the free space is at the end of file if:
    - the file is empty OR
      - qhead.pos <= qtail.pos
      - free.pos > qtail.pos
    
    tests: added randomized values per each read/write
    b7f1a1e2