[GHC] #2034: In FilePath, current directory should be ".", not ""

GHC ghc-devs at haskell.org
Tue Sep 23 13:45:34 UTC 2014


#2034: In FilePath, current directory should be ".", not ""
--------------------------------------+---------------------------------
        Reporter:  igloo              |         Owner:  neil
            Type:  proposal           |        Status:  closed
        Priority:  normal             |     Milestone:  Not GHC
       Component:  libraries (other)  |       Version:  6.8.1
      Resolution:  fixed              |      Keywords:
Operating System:  Unknown/Multiple   |  Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown       |    Difficulty:  Unknown
       Test Case:                     |    Blocked By:
        Blocking:                     |
--------------------------------------+---------------------------------

Comment (by Austin Seipp <austin@…>):

 In [changeset:"2a743bbddd4de41a77af9b83ec4720cd013292cf/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="2a743bbddd4de41a77af9b83ec4720cd013292cf"
 Delete hack when takeDirectory returns ""

 Summary:
 Since commits 8fe1f8 and bb6731 in the filepath packages (ticket #2034,
 closed
 in 2010), takeDirectory "foo" returns ".", and not "", so this check is no
 longer needed.

 Other commits:
 * Remove trailing whitespace
 * Update comments for #2278

 Test Plan: harbormaster

 Reviewers: austin

 Reviewed By: austin

 Subscribers: simonmar, ezyang, carter

 Differential Revision: https://phabricator.haskell.org/D213

 GHC Trac Issues: #2034
 }}}

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


More information about the ghc-tickets mailing list