Skip to content

canonicalizePath "" returns noise

Apparently

canonicalizePath ""

returns random noise on both Windows and Linux (GHC 6.10.4).

Example session:

System.Directory> canonicalizePath ""
"\242\227\&6\STX\NAK"

On OSX / GHC 6.10.1 it works correctly (returning the current directory). Linux / GHC 6.8.2 also returns noise.

Trac metadata
Trac field Value
Version 6.10.4
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component libraries/base
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information