[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 18:44:58 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:  high              |            Milestone:  8.2.1
       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:                    |
-------------------------------------+-------------------------------------
Changes (by rwbarton):

 * priority:  normal => high
 * milestone:   => 8.2.1


Comment:

 Thank you! I was baffled by this behavior in the context of a stack ticket
 (on phone, so not going to look for it now). With your hints I now
 understand more or less what is going on.

 The difference between `--` and `--RTS` is that the former is passed on to
 the program, while the latter is not. It's intentional and documented at
 least in the code which implements it, and I think in the user's guide
 also.

 Let's just fix this for 8.2 (should be a one line change) and worry about
 cleaning up the weird command line stuff we do on Windows after that.

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


More information about the ghc-tickets mailing list