-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GHC.IO.Handle.Lock #207
GHC.IO.Handle.Lock #207
Conversation
d2084b2
to
74a1a8c
Compare
Indeed, this one's a much better provisional solution as it avoids introducing a new bug (the #205 regression). |
import Control.Exception (Exception) | ||
import Data.Typeable | ||
|
||
#if defined(solaris2_HOST_OS) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add || defined(aix_HOST_OS)
|
||
---------------------------------------- | ||
|
||
#if defined(solaris2_HOST_OS) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here as well
921650c
to
ef5f713
Compare
aix disabled too. |
This reverts commit d91afd3.
ef5f713
to
a593d70
Compare
Does d91afd3 in better way See also haskell/cabal#5072 for discussion about locking. TL;DR if we want to use fcntl, we have to make proper implementation and audit it. The directory creation fallback will be used on at least Solaris and AIX
a593d70
to
2a1a6cc
Compare
346ef3d
to
a457de5
Compare
If we are to use stopgap solution., let's use better one.