#5800: hp2ps produces unescaped backslashes for nested functions
-----------------------------------------+----------------------------------
Reporter: jkff | Owner:
Type: bug | Status: new
Priority: normal | Component: Profiling
Version: 7.4.1-rc1 | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: Incorrect result at runtime | Testcase:
Blockedby: | Blocking:
Related: |
-----------------------------------------+----------------------------------
ghc 7.4, when compiling with -prof -auto-all, includes nested functions as
cost centres, sometimes including backslashes - e.g. it called one of my
functions "foo.go.\" in the profiling output.
hp2ps, in the file Key.c, function KeyEntry, does not escape backslashes
in the 'name' parameter.
As a result, the ps file will contain an incorrect or unterminated string,
causing it to be non-displayable or non-convertible to pdf.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5800>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs