-
Notifications
You must be signed in to change notification settings - Fork 697
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
WINIO: Add support for WINIO to Cabal. #6848
Conversation
8252951
to
21e265e
Compare
21e265e
to
f996a72
Compare
I'm not sure what happened with Quick jobs. I noticed that "Add Cabal, GHC... to GitHub iActions mages* issues was resolved, so it might or might not related. |
@@ -36,10 +40,17 @@ import qualified System.Posix | |||
-- TODO: This file should probably be removed. | |||
|
|||
-- This is a copy/paste of the openBinaryTempFile definition, but | |||
-- if uses 666 rather than 600 for the permissions. The base library | |||
-- needs to be changed to make this better. | |||
-- if uses 666 rather than 600 for the permissions. Newer versions |
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.
s/if/it/
?
The Quick jobs failed, (#6890 will fix them soon). |
@Mistuke Could you fix a typo and rebase on top of |
f996a72
to
6ec7bdb
Compare
@phadej not sure what that CI failure is.. seems to have failed checkout? |
CI was green in #6908 (with the same commit). I merged it. If there is still something please open a followup! |
This makes
openNewBinaryFile
useopenBinaryTempFileWithDefaultPermissions
on Windows when the new I/O manager is used. It's my understanding that the only difference between the two is the file mode?666
vs600
. Howeverbase
has supprtedopenBinaryTempFileWithDefaultPermissions
for a while now with666
as permissions.Without this any calls to
openNewBinaryFile
in GHC 8.12 and the new I/O manager enabled will cause a panic.Related to #6847
Please include the following checklist in your PR:
changelog.d
directory).Please also shortly describe how you tested your change. Bonus points for added tests!