[GHC] #10430: openTempFileWithDefaultPermissions has the wrong location name on failure

GHC ghc-devs at haskell.org
Mon May 18 10:07:57 UTC 2015


#10430: openTempFileWithDefaultPermissions has the wrong location name on failure
-------------------------------------+-------------------------------------
              Reporter:              |             Owner:
  NeilMitchell                       |            Status:  new
                  Type:  bug         |         Milestone:
              Priority:  normal      |           Version:  7.10.1
             Component:              |  Operating System:  Unknown/Multiple
  libraries/base                     |   Type of failure:  None/Unknown
              Keywords:              |        Blocked By:
          Architecture:              |   Related Tickets:
  Unknown/Multiple                   |
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------
 In System/IO.hs I see two typos:

 {{{#!hs
 openTempFileWithDefaultPermissions :: FilePath -> String
                                    -> IO (FilePath, Handle)
 openTempFileWithDefaultPermissions tmp_dir template
     = openTempFile' "openBinaryTempFile" tmp_dir template False 0o666
 }}}

 It should read {{{openTempFile' "openTempFileWithDefaultPermssions"}}}.
 The function {{{openBinaryTempFileWithDefaultPermissions}}} has the same
 bug.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10430>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list