id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
2603	Crash on Korn shell on Windows XP	NeilMitchell		"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.
"	bug	closed	normal		Compiler	6.9	fixed		neil.mitchell.2@…	Unknown/Multiple	Unknown/Multiple		Unknown				
