[GHC] #15904: hp2ps fail with parse error when the command args contains double quotes

GHC ghc-devs at haskell.org
Fri Nov 16 08:25:35 UTC 2018


#15904: hp2ps fail with parse error when the command args contains double quotes
-------------------------------------+-------------------------------------
           Reporter:  watashi        |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  8.8.1
          Component:  Profiling      |           Version:  8.7
           Keywords:  hp2ps          |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 {{{
 watashi % cat test.hs
 main = pure ()
 watashi % ghc -prof -rtsopts test.hs
 watashi % ./test '{"e": 2.72, "pi": 3.14}' +RTS -h
 watashi % hp2ps test.hp
 hp2ps: test.hp, line 1: integer must follow identifier
 }}}

 Manually open `test.hp` and remove the `"`s in `JOB` will mitigate the
 problem.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15904>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list