Daily report for head

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Sat Aug 23 11:35:33 EDT 2008


On Sat, 2008-08-23 at 14:11 +0100, Claus Reinke wrote:
> windows head, stage 3, todays daily report:
> 
>     user error (CreateDirectory: Cno raeafl hnta iearayeit.
>     s m;x%x%INDOWS;.;C:\cygwin\usr\local\bin;C:\cygwin\bin;c:\ghc\ghc-6.8.3\bin;c:\ghc\ghc-6.4.2 
> \bin;c:\tools;c:\windows\system32 (error code: b7))
> 
> 
> eh.. what? such gibberish is worrying.

We think the reason is that the ASCII variant of Win32's GetLastError is
getting called rather than the UTF16 Unicode variant. However the result
is still decoded into String as UTF16, then the result is printed using
8-bit ASCII IO. The result is missing every other character from the
error string.

A first guess is that it's most likely to be an accidental consequence
of the -DUNICODE change from a couple days ago.

I've not run the code or reproduced the symptom so I cannot give any
more details.

Duncan



More information about the Cvs-ghc mailing list