#4968: openTempFile fails on Windows if a directory exists with the file name it
tries
-------------------------------+--------------------------------------------
Reporter: ganesh | Owner: pcapriotti
Type: bug | Status: patch
Priority: high | Milestone: 7.4.2
Component: libraries/base | Version: 7.0.1
Keywords: | Os: Windows
Architecture: x86_64 (amd64) | Failure: Incorrect result at runtime
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
-------------------------------+--------------------------------------------
Changes (by pcapriotti):
* status: new => patch
Comment:
The attached patches implement the simple solution suggested by fryguybob.
It is not perfect, but I couldn't think of a better solution, short of
using Windows temporary file API, which, however, would be too
restrictive.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4968#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs