Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
4,262
Issues
4,262
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
404
Merge Requests
404
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
25d1a716
Commit
25d1a716
authored
May 19, 2015
by
rwbarton
2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix error messages from open(Binary)TempFileWithDefaultPermissions
Fixes Trac
#10430
.
parent
edb8dc5c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
libraries/base/System/IO.hs
libraries/base/System/IO.hs
+2
-2
No files found.
libraries/base/System/IO.hs
View file @
25d1a716
...
...
@@ -453,13 +453,13 @@ openBinaryTempFile tmp_dir template
openTempFileWithDefaultPermissions
::
FilePath
->
String
->
IO
(
FilePath
,
Handle
)
openTempFileWithDefaultPermissions
tmp_dir
template
=
openTempFile'
"open
BinaryTempFile
"
tmp_dir
template
False
0o666
=
openTempFile'
"open
TempFileWithDefaultPermissions
"
tmp_dir
template
False
0o666
-- | Like 'openBinaryTempFile', but uses the default file permissions
openBinaryTempFileWithDefaultPermissions
::
FilePath
->
String
->
IO
(
FilePath
,
Handle
)
openBinaryTempFileWithDefaultPermissions
tmp_dir
template
=
openTempFile'
"openBinaryTempFile"
tmp_dir
template
True
0o666
=
openTempFile'
"openBinaryTempFile
WithDefaultPermissions
"
tmp_dir
template
True
0o666
openTempFile'
::
String
->
FilePath
->
String
->
Bool
->
CMode
->
IO
(
FilePath
,
Handle
)
...
...
thomie
@trac-thomie
mentioned in issue
#9709
·
Oct 21, 2014
mentioned in issue
#9709
mentioned in issue #9709
Toggle commit list
Administrator
@root
mentioned in commit
079f228c
·
Dec 17, 2018
mentioned in commit
079f228c
mentioned in commit 079f228c7e0fc177d68d50df991235f088200672
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment