[GHC] #1490: Install with Cabal broken on Windows
GHC
trac at galois.com
Sat Jul 7 09:09:07 EDT 2007
#1490: Install with Cabal broken on Windows
----------------------------------+-----------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: high | Milestone: 6.8
Component: libraries (other) | Version: 6.7
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Os: Windows | Testcase:
Architecture: Unknown |
----------------------------------+-----------------------------------------
Changes (by igloo):
* milestone: => 6.8
* priority: normal => high
* cc: lennart.augustsson at credit-suisse.com => lennart.augustsson at credit-
suisse.com, ndmitchell at gmail.com
Comment:
Thanks for the report.
(\ and / are interchangeable in the following)
OK, the problem is that mingw's stat succeeds for C:\ and C:\foo but fails
for C: and C:\foo\. The current code strips a trailing \ before calling
stat.
I think filepath ought to give us a function to normalise directories in
this way (normaliseDirectory, perhaps?); what do you say, Neil?
(incidentally, while experimenting I found that normalise "C:\\" is
""C:\\\\", which doesn't seem right).
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1490>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
-------------- next part --------------
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs at haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
More information about the Glasgow-haskell-bugs
mailing list