Skip to content
  • Hallvard Furuseth's avatar
    Improve MDB error handling, drop seek calls. · d6d2638a
    Hallvard Furuseth authored
    Catch I/O errors. Do nothing between OS call failure and ErrCode().
    Do not use errno after non-OS-errors like write() >= 0, which could
    give a failure return of success (errno 0) or some irrelevant error
    code.  Drop seek calls, use pwrite/pread/Windows OVERLAPPED offset.
    d6d2638a