[GHC] #3975: filepath: normalise trailing dot

GHC cvs-ghc at haskell.org
Wed Aug 10 16:16:14 CEST 2011


#3975: filepath: normalise trailing dot
------------------------------------------+---------------------------------
  Reporter:  conrad                       |          Owner:                    
      Type:  bug                          |         Status:  new               
  Priority:  normal                       |      Milestone:  Not GHC           
 Component:  libraries (other)            |        Version:  6.12.1            
Resolution:                               |       Keywords:  filepath normalise
  Testcase:                               |      Blockedby:                    
Difficulty:                               |             Os:  Unknown/Multiple  
  Blocking:                               |   Architecture:  Unknown/Multiple  
   Failure:  Incorrect result at runtime  |  
------------------------------------------+---------------------------------
Changes (by nad):

  * status:  closed => new
  * type:  proposal => bug
  * resolution:  fixed =>


Comment:

 Is filepath supposed to follow the package versioning policy? If it is,
 then the new semantics of normalise should have been accompanied by an
 increased major version number. To minimise damage you may want to upload
 two new copies of filepath: 1.2.0.2 (a copy of 1.2.0.0) and 1.3.0.0 (a
 copy of 1.2.0.1).

 On a related note, is the following behaviour intended?
 {{{
 > normalise "/"
 "/."
 }}}

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



More information about the Glasgow-haskell-bugs mailing list