#2603: Crash on Korn shell on Windows XP
-----------------------------+----------------------------------------------
Reporter: NeilMitchell | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.9 | Severity: normal
Keywords: | Testcase:
Architecture: Unknown | Os: Unknown
-----------------------------+----------------------------------------------
Running GHC HEAD in a Korn Shell on Windows XP gives:
{{{
[C:/Neil] 21$ ghc
ghc: panic! (the 'impossible' happened)
(GHC version 6.9.20080916 for i386-unknown-mingw32):
can't decompose ghc.exe path:
"C:\\ghc\\ghc-6.9.20080916\\bin\\ghc.EXE"
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
}}}
The problem is that Korn has resolved ghc as ghc.EXE, which matches
ghc.exe because windows is case insensitive when looking up files. This
causes an error in SysTools.lhs. The attached patch fixes this issue. I
have not validated.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2603>
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