Skip to content
Snippets Groups Projects
  • Rob Swindell's avatar
    7ae0772e
    Add another flength() check before renaming bad QWK packets · 7ae0772e
    Rob Swindell authored and Deucе's avatar Deucе committed
    To hopefully address:
    !ERROR 2 (No such file or directory) renaming s:\sbbs\data\file/somenum.rep
     (-1 bytes) to s:\sbbs\data\file/somenum.rep.6777ed7c.bad
    
    Clearly flength() is returning -1 (file doesn't exist) at this point, so
    perhaps the call to fremove() just above updated a cached directory?
    7ae0772e
    History
    Add another flength() check before renaming bad QWK packets
    Rob Swindell authored and Deucе's avatar Deucе committed
    To hopefully address:
    !ERROR 2 (No such file or directory) renaming s:\sbbs\data\file/somenum.rep
     (-1 bytes) to s:\sbbs\data\file/somenum.rep.6777ed7c.bad
    
    Clearly flength() is returning -1 (file doesn't exist) at this point, so
    perhaps the call to fremove() just above updated a cached directory?