[GHC] #8601: runghc from standard input and --ghc-args
GHC
ghc-devs at haskell.org
Tue Jan 7 14:30:11 UTC 2014
#8601: runghc from standard input and --ghc-args
-------------------------------------+------------------------------------
Reporter: wuzzeb | Owner:
Type: bug | Status: patch
Priority: normal | Milestone:
Component: Compiler | Version: 7.6.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+------------------------------------
Comment (by Austin Seipp <austin@…>):
In [changeset:"ec4af3fbcd47ca3af1727e70fa20e7cb8db0fb41/ghc"]:
{{{
#!CommitTicketReference repository="ghc"
revision="ec4af3fbcd47ca3af1727e70fa20e7cb8db0fb41"
runghc: Fix interaction of stdin and --ghc-args
When reading the program from standard input, runghc did not properly
handle the --ghc-arg= escape for arguments to ghc which do not start
with a dash, since arguments were processed twice and the first time the
--ghc-arg= was stripped. Now arguments are only processed once. For
backwards compatibility, a prefix of --ghc-arg=--ghc-arg= is allowed
since this prefix will work on both old and new versions of ghc.
This fixes #8601
Signed-off-by: Austin Seipp <austin at well-typed.com>
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8601#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list