haskell / hackage-security

Hackage security framework based on TUF (The Update Framework)
http://hackage.haskell.org/package/hackage-security
56 stars 47 forks source link

Fix bug in-non-lukko locking #242

Closed phadej closed 4 years ago

phadej commented 4 years ago

The invalid ordering cause https://github.com/haskell/cabal/issues/6657

cabal update
Downloading the latest package list from hackage.haskell.org
flock: invalid argument (Bad file descriptor)

error came from hUnlock function, trying to unlock closed file.