Skip to content

ghc-split fails to quote path when used as regex

If the second argument to ghc/driver/split/ghc-split
contains
a backslash and a 'p', for example ...\pe..., the
script fails with an error message:

Can't find unicode character property definition via
main->e or e.pl at unicode/Is/e.pl line 0

The problem can be solved by a
$Tmp_prefix =~ s/\\/\\\\/g;
before it is used as a regexp around line 50 in ghc-split.

Trac metadata
Trac field Value
Version None
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedFixed
Component Driver
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