Skip to content
  • Rob Swindell's avatar
    On Windows, lock the opened mutex file to insure *nix sopen() will fail · 11af4bd4
    Rob Swindell authored
    Even though we use O_EXCL, networked file systems still sometimes allow the
    secondary open() to succeed. We use record locking in xpdev's sopen()
    implementation for *nix, so this lock will insure such opens (and locks) will
    now fail.
    
    This is an attempt to address occassional error on Vertrauen:
    ERROR 2 (No such file or directory) renaming *.rep to *.bad
    11af4bd4
Loading