[GHC] #13287: The runtime parses arguments past -- under windows but passes them on as arguments on linux

GHC ghc-devs at haskell.org
Thu Feb 16 15:56:25 UTC 2017


#13287: The runtime parses arguments past -- under windows but passes them on as
arguments on linux
-------------------------------------+-------------------------------------
        Reporter:  AndreasK          |                Owner:  AndreasK
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Runtime System    |              Version:  8.0.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Other             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by AndreasK):

 There is already a issue for reworking the argument parser: #4243 (Make a
 proper options parser for the RTS)

 Using a unified parser would certainly fix this behavior as well.

 There is also interesting behaviour with -rtsopts=none

 * `app -- +RTS arg1` get's silently ignored
 * `app +RTS arg1` gives a warning (as expected)

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


More information about the ghc-tickets mailing list