Skip to content
  • Hallvard Furuseth's avatar
    ITS#7364 Always sem_unlink() in mdb_env_open(). · c760e536
    Hallvard Furuseth authored
    Drop the sem_unlink() error checks, which could prevent the 2nd
    unlink.  Instead use O_EXCL in sem_open().
    
    This makes "open+close the database" the API for trying to clean
    away the old semaphores, if they were left behind by a previous run.
    c760e536