GHC-6.0: Open with ... bug (again!)

Sigbjorn Finne sof@galois.com
Tue, 10 Jun 2003 09:14:49 -0700


This is a multi-part message in MIME format.

------=_NextPart_000_0D1F_01C32F30.BE7D8A60
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi there,

thanks for the report on an issue I thought had been properly resolved,
but alas not. The updated Windows installer that was published last =
Monday
does include a fix for the issue. I'm guessing you spotted that, but I =
didn't
want to leave your report un-replied to in the e-mail archives.

hth
--sigbjorn
  ----- Original Message -----=20
  From: Calle Lejdfors=20
  To: glasgow-haskell-users@haskell.org=20
  Sent: Monday, June 02, 2003 06:44
  Subject: GHC-6.0: Open with ... bug (again!)


  Hi.

  The problem with open files contained in directories whose name =
contain white space is still present under Windows (Win XP Pro at =
least). It apparently works under Linux but not under windows.

  Opening a file in a directory called "Test dir" via one of=20

  $ ghci Test\ dir/Test.lhs
  $ ghci "Test dir/Test.lhs"
  $ ghci Test\ dir\\Test.lhs
  $ ghci "Test\ dir\\Test.lhs"

  gives the error

  Test\:
      Can't find module `Test\'
      (use -v to see a list of the files searched for)

  The output from running ghci with the -v flag is attached to this =
mail. As usual ghc works perfectly.

  Please, please, please fix this bug (so that I can build a CVS =
version) as we need it in our functional programming course.

  Thanks, Calle
------=_NextPart_000_0D1F_01C32F30.BE7D8A60
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi there,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>thanks for the report on an issue I =
thought had=20
been properly resolved,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>but alas not.&nbsp;The updated Windows =
installer=20
that was published last Monday</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>does include a fix for the issue. I'm =
guessing you=20
spotted that, but I didn't</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>want to leave&nbsp;your report =
un-replied to in the=20
e-mail archives.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>hth</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>--sigbjorn</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dcalle.lejdfors@cs.lth.se =
href=3D"mailto:calle.lejdfors@cs.lth.se">Calle=20
  Lejdfors</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
  title=3Dglasgow-haskell-users@haskell.org=20
  =
href=3D"mailto:glasgow-haskell-users@haskell.org">glasgow-haskell-users@h=
askell.org</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Monday, June 02, 2003 =
06:44</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> GHC-6.0: Open with ... =
bug=20
  (again!)</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=3DArial size=3D2>Hi.</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>The problem with open files contained =
in=20
  directories whose name contain white space is still present under =
Windows (Win=20
  XP Pro at least). It apparently works under Linux but not under=20
  windows.</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Opening a file in a directory called =
"Test dir"=20
  via one of </FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>$ ghci Test\ =
dir/Test.lhs</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>$ ghci "Test =
dir/Test.lhs"</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>$ ghci Test\ =
dir\\Test.lhs</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>$ ghci "Test\ =
dir\\Test.lhs"</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>gives the error</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Test\:<BR>&nbsp;&nbsp;&nbsp; Can't =
find module=20
  `Test\'<BR>&nbsp;&nbsp;&nbsp; (use -v to see a list of the files =
searched=20
  for)</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>The output from running ghci with the =
-v flag is=20
  attached to this mail. As usual ghc works perfectly.</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Please, please, please fix this bug =
(so that I=20
  can build a CVS version) as we need it in our functional programming=20
  course.</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Thanks,=20
Calle</FONT></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0D1F_01C32F30.BE7D8A60--