[GHC] #12674: GHC doesn't handle ./ prefixed paths correctly

GHC ghc-devs at haskell.org
Fri Jul 13 14:41:16 UTC 2018


#12674: GHC doesn't handle ./ prefixed paths correctly
-------------------------------------+-------------------------------------
        Reporter:  dobenour          |                Owner:  RolandSenn
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Driver            |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Phyx-):

 You do have a third option, which is to create a wrapper for normalise in
 ghc and call that. On posix platforms you then have this special case if
 the part starts with `./-` this is much safer approach than changing
 filepath.

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


More information about the ghc-tickets mailing list