[GHC] #10957: getExecutablePath adds " (deleted)" suffix if executable was deleted under linux

GHC ghc-devs at haskell.org
Mon Oct 12 18:21:01 UTC 2015


#10957: getExecutablePath adds " (deleted)" suffix if executable was deleted under
linux
-------------------------------------+-------------------------------------
        Reporter:  aslpavel          |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Core Libraries    |              Version:  7.10.2
      Resolution:                    |             Keywords:
Operating System:  Linux             |         Architecture:
 Type of failure:  Incorrect result  |  Unknown/Multiple
  at runtime                         |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by aslpavel):

 API break is not very good choice, otherwise I would suggest return some
 optional type, so we can add an explicit hack to handle this Linux quirk
 by either returning trimmed string or throwing an exceptin

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


More information about the ghc-tickets mailing list